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§
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