Struct mangle_ast::Decl
source · pub struct Decl<'a> {
pub atom: &'a Atom<'a>,
pub descr: &'a [&'a Atom<'a>],
pub bounds: Option<&'a [&'a BoundDecl<'a>]>,
pub constraints: Option<&'a Constraints<'a>>,
}Fields§
§atom: &'a Atom<'a>§descr: &'a [&'a Atom<'a>]§bounds: Option<&'a [&'a BoundDecl<'a>]>§constraints: Option<&'a Constraints<'a>>Trait Implementations§
source§impl<'a> PartialEq for Decl<'a>
impl<'a> PartialEq for Decl<'a>
impl<'a> Copy for Decl<'a>
impl<'a> StructuralPartialEq for Decl<'a>
Auto Trait Implementations§
impl<'a> Freeze for Decl<'a>
impl<'a> RefUnwindSafe for Decl<'a>
impl<'a> Send for Decl<'a>
impl<'a> Sync for Decl<'a>
impl<'a> Unpin for Decl<'a>
impl<'a> UnwindSafe for Decl<'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