Struct muse_lang::runtime::value::StaticType
source · pub struct StaticType(/* private fields */);Expand description
A static TypeRef.
Implementations§
Methods from Deref<Target = TypeRef>§
sourcepub fn as_any_dynamic(&self) -> AnyDynamic
pub fn as_any_dynamic(&self) -> AnyDynamic
Returns a weak, typeless reference to this value.
sourcepub fn as_any_root(&self) -> AnyDynamicRoot
pub fn as_any_root(&self) -> AnyDynamicRoot
Returns this value as a typeless root reference.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StaticType
impl !RefUnwindSafe for StaticType
impl Send for StaticType
impl Sync for StaticType
impl Unpin for StaticType
impl !UnwindSafe for StaticType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more