pub struct ResolvedDef {
pub name: String,
pub traits: Vec<String>,
pub attrs: Vec<String>,
}Expand description
A fully resolved definition with all inheritance applied.
Fields§
§name: StringThe name of the definition.
traits: Vec<String>List of derive traits (including inherited).
attrs: Vec<String>Additional attributes (including inherited).
Trait Implementations§
Source§impl Clone for ResolvedDef
impl Clone for ResolvedDef
Source§fn clone(&self) -> ResolvedDef
fn clone(&self) -> ResolvedDef
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 Debug for ResolvedDef
impl Debug for ResolvedDef
Source§impl PartialEq for ResolvedDef
impl PartialEq for ResolvedDef
impl Eq for ResolvedDef
impl StructuralPartialEq for ResolvedDef
Auto Trait Implementations§
impl Freeze for ResolvedDef
impl RefUnwindSafe for ResolvedDef
impl Send for ResolvedDef
impl Sync for ResolvedDef
impl Unpin for ResolvedDef
impl UnwindSafe for ResolvedDef
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