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.
Source§impl<'a> IntoIterator for ConstObject<'a>
impl<'a> IntoIterator for ConstObject<'a>
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