pub struct Declarations;Implementations§
Source§impl Declarations
impl Declarations
pub fn of<C>() -> Result<Vec<Definition>, Error>where
C: Catalog<Declarations>,
pub fn from_entries(entries: &[Entry]) -> Result<Vec<Definition>, Error>
pub fn from_tree(entries: &[Node<Entry>]) -> Result<Vec<Definition>, Error>
pub fn from_projection<P>(entries: &P) -> Result<Vec<Definition>, Error>where
P: Projection<Entry>,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Declarations
impl RefUnwindSafe for Declarations
impl Send for Declarations
impl Sync for Declarations
impl Unpin for Declarations
impl UnsafeUnpin for Declarations
impl UnwindSafe for Declarations
Blanket Implementations§
impl<T> Allocation for T
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