pub enum TypeLifetime {
SelfRef,
SelfMutRef,
Ref(String),
MutRef(String),
ConstPtr,
MutPtr,
Owned,
}Variants§
Trait Implementations§
Source§impl Clone for TypeLifetime
impl Clone for TypeLifetime
Source§fn clone(&self) -> TypeLifetime
fn clone(&self) -> TypeLifetime
Returns a duplicate 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 TypeLifetime
impl Debug for TypeLifetime
Source§impl PartialEq for TypeLifetime
impl PartialEq for TypeLifetime
impl StructuralPartialEq for TypeLifetime
Auto Trait Implementations§
impl Freeze for TypeLifetime
impl RefUnwindSafe for TypeLifetime
impl Send for TypeLifetime
impl Sync for TypeLifetime
impl Unpin for TypeLifetime
impl UnwindSafe for TypeLifetime
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