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 more