pub struct ConstObject<'a>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<'a> Clone for ConstObject<'a>
impl<'a> Clone for ConstObject<'a>
source§fn clone(&self) -> ConstObject<'a>
fn clone(&self) -> ConstObject<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstObject<'_>
impl Debug for ConstObject<'_>
source§impl<'a> From<ConstObject<'a>> for Object<'a>
impl<'a> From<ConstObject<'a>> for Object<'a>
source§fn from(value: ConstObject<'a>) -> Self
fn from(value: ConstObject<'a>) -> Self
Converts to this type from the input type.
impl<'a> Copy for ConstObject<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstObject<'a>
impl<'a> RefUnwindSafe for ConstObject<'a>
impl<'a> Send for ConstObject<'a>
impl<'a> Sync for ConstObject<'a>
impl<'a> Unpin for ConstObject<'a>
impl<'a> UnwindSafe for ConstObject<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)