pub struct ConstantObj { /* private fields */ }Expand description
The object behind Constant.
Implementations§
Trait Implementations§
Source§impl Deref for ConstantObj
impl Deref for ConstantObj
Source§impl<'a> From<&'a ConstantObj> for AnyView<'a>
impl<'a> From<&'a ConstantObj> for AnyView<'a>
Source§fn from(value: &'a ConstantObj) -> Self
fn from(value: &'a ConstantObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for ConstantObj
impl ObjectCore for ConstantObj
Source§impl ShallowCopy for ConstantObj
impl ShallowCopy for ConstantObj
Source§fn shallow_copy(&self) -> Self
fn shallow_copy(&self) -> Self
The copy, under a fresh object header.
impl ImmutableObject for ConstantObj
impl UnsafeInit for ConstantObj
Auto Trait Implementations§
impl !Freeze for ConstantObj
impl RefUnwindSafe for ConstantObj
impl Send for ConstantObj
impl Sync for ConstantObj
impl Unpin for ConstantObj
impl UnsafeUnpin for ConstantObj
impl UnwindSafe for ConstantObj
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