Enum syn::Mutability [−][src]
pub enum Mutability { Mutable, Immutable, }
Variants
Mutable
Immutable
Trait Implementations
impl ToTokens for Mutability
[src]
impl ToTokens for Mutability
impl Debug for Mutability
[src]
impl Debug for Mutability
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Mutability
[src]
impl Copy for Mutability
impl Clone for Mutability
[src]
impl Clone for Mutability
fn clone(&self) -> Mutability
[src]
fn clone(&self) -> Mutability
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Mutability
[src]
impl Eq for Mutability
impl PartialEq for Mutability
[src]
impl PartialEq for Mutability
fn eq(&self, other: &Mutability) -> bool
[src]
fn eq(&self, other: &Mutability) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for Mutability
[src]
impl Hash for Mutability
Auto Trait Implementations
impl Send for Mutability
impl Send for Mutability
impl Sync for Mutability
impl Sync for Mutability