pub struct Declarator {
pub name: Option<InternedStr>,
pub derived: Vec<DerivedDecl>,
pub loc: SourceLocation,
}Expand description
宣言子
Fields§
§name: Option<InternedStr>§derived: Vec<DerivedDecl>§loc: SourceLocationTrait Implementations§
Source§impl Clone for Declarator
impl Clone for Declarator
Source§fn clone(&self) -> Declarator
fn clone(&self) -> Declarator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Declarator
impl RefUnwindSafe for Declarator
impl Send for Declarator
impl Sync for Declarator
impl Unpin for Declarator
impl UnsafeUnpin for Declarator
impl UnwindSafe for Declarator
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