Enum syn_helpers::TypeOfSelf
source · pub enum TypeOfSelf {
Reference,
MutableReference,
Owned,
}
Expand description
What ownership the method requires
Variants§
Trait Implementations§
source§impl Clone for TypeOfSelf
impl Clone for TypeOfSelf
source§fn clone(&self) -> TypeOfSelf
fn clone(&self) -> TypeOfSelf
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 moreimpl Copy for TypeOfSelf
Auto Trait Implementations§
impl RefUnwindSafe for TypeOfSelf
impl Send for TypeOfSelf
impl Sync for TypeOfSelf
impl Unpin for TypeOfSelf
impl UnwindSafe for TypeOfSelf
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