pub struct NormalizedDeclaration<'a> {
pub kind: DeclarationKind,
pub readonly_flag: bool,
pub span: Span,
pub head_span: Span,
pub redirects: &'a [Redirect],
pub assignments: &'a [Assignment],
pub operands: &'a [DeclOperand],
pub assignment_operands: Vec<&'a Assignment>,
}Expand description
Fact collection types and stable identifiers into those collections.
Fields§
§kind: DeclarationKind§readonly_flag: bool§span: Span§head_span: Span§redirects: &'a [Redirect]§assignments: &'a [Assignment]§operands: &'a [DeclOperand]§assignment_operands: Vec<&'a Assignment>Trait Implementations§
Source§impl<'a> Clone for NormalizedDeclaration<'a>
impl<'a> Clone for NormalizedDeclaration<'a>
Source§fn clone(&self) -> NormalizedDeclaration<'a>
fn clone(&self) -> NormalizedDeclaration<'a>
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<'a> Freeze for NormalizedDeclaration<'a>
impl<'a> RefUnwindSafe for NormalizedDeclaration<'a>
impl<'a> Send for NormalizedDeclaration<'a>
impl<'a> Sync for NormalizedDeclaration<'a>
impl<'a> Unpin for NormalizedDeclaration<'a>
impl<'a> UnsafeUnpin for NormalizedDeclaration<'a>
impl<'a> UnwindSafe for NormalizedDeclaration<'a>
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