Struct xlang_syntax::ast::StructProp
source · [−]Expand description
A property of a struct.
Fields
loc: Locpubl: boolname: Ident<'input>Implementations
Trait Implementations
sourceimpl<'input> Clone for StructProp<'input>
impl<'input> Clone for StructProp<'input>
sourcefn clone(&self) -> StructProp<'input>
fn clone(&self) -> StructProp<'input>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'input> Debug for StructProp<'input>
impl<'input> Debug for StructProp<'input>
sourceimpl<'input> Locate for StructProp<'input>
impl<'input> Locate for StructProp<'input>
sourceimpl<'input> PartialEq<StructProp<'input>> for StructProp<'input>
impl<'input> PartialEq<StructProp<'input>> for StructProp<'input>
sourcefn eq(&self, other: &StructProp<'input>) -> bool
fn eq(&self, other: &StructProp<'input>) -> bool
impl<'input> StructuralPartialEq for StructProp<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for StructProp<'input>
impl<'input> Send for StructProp<'input>
impl<'input> Sync for StructProp<'input>
impl<'input> Unpin for StructProp<'input>
impl<'input> UnwindSafe for StructProp<'input>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more