pub struct StructProp<'input> {
pub loc: Loc,
pub publ: bool,
pub name: Ident<'input>,
}
Expand description
A property of a struct.
Fields§
§loc: Loc
§publ: bool
§name: Ident<'input>
Implementations§
Trait Implementations§
Source§impl<'input> Clone for StructProp<'input>
impl<'input> Clone for StructProp<'input>
Source§fn clone(&self) -> StructProp<'input>
fn clone(&self) -> StructProp<'input>
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<'input> Debug for StructProp<'input>
impl<'input> Debug for StructProp<'input>
Source§impl<'input> Locate for StructProp<'input>
impl<'input> Locate for StructProp<'input>
Source§impl<'input> PartialEq for StructProp<'input>
impl<'input> PartialEq for StructProp<'input>
impl<'input> StructuralPartialEq for StructProp<'input>
Auto Trait Implementations§
impl<'input> Freeze for StructProp<'input>
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§
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