pub struct DerivingInstance<'tree> {
pub span: Span,
pub context: Option<Context<'tree>>,
pub forall: Option<DerivingInstanceForall<'tree>>,
pub name: Option<DerivingInstanceName<'tree>>,
pub patterns: Option<TypePatterns<'tree>>,
pub strategy: Option<DerivingStrategy<'tree>>,
pub via: Option<Via<'tree>>,
pub children: Option<DerivingInstanceChildren<'tree>>,
}Fields§
§span: Span§context: Option<Context<'tree>>§forall: Option<DerivingInstanceForall<'tree>>§name: Option<DerivingInstanceName<'tree>>§patterns: Option<TypePatterns<'tree>>§strategy: Option<DerivingStrategy<'tree>>§via: Option<Via<'tree>>§children: Option<DerivingInstanceChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for DerivingInstance<'tree>
impl<'tree> Clone for DerivingInstance<'tree>
Source§fn clone(&self) -> DerivingInstance<'tree>
fn clone(&self) -> DerivingInstance<'tree>
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 moreSource§impl<'tree> Debug for DerivingInstance<'tree>
impl<'tree> Debug for DerivingInstance<'tree>
impl<'tree> Eq for DerivingInstance<'tree>
Source§impl<'tree> FromNode<'tree> for DerivingInstance<'tree>
impl<'tree> FromNode<'tree> for DerivingInstance<'tree>
Source§impl<'tree> PartialEq for DerivingInstance<'tree>
impl<'tree> PartialEq for DerivingInstance<'tree>
Source§impl Spanned for DerivingInstance<'_>
impl Spanned for DerivingInstance<'_>
impl<'tree> StructuralPartialEq for DerivingInstance<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DerivingInstance<'tree>
impl<'tree> RefUnwindSafe for DerivingInstance<'tree>
impl<'tree> Send for DerivingInstance<'tree>
impl<'tree> Sync for DerivingInstance<'tree>
impl<'tree> Unpin for DerivingInstance<'tree>
impl<'tree> UnsafeUnpin for DerivingInstance<'tree>
impl<'tree> UnwindSafe for DerivingInstance<'tree>
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