pub struct Definitions<'def> { /* private fields */ }
Expand description
A set collection of definition groups
Implementations§
Source§impl<'def> Definitions<'def>
impl<'def> Definitions<'def>
Sourcepub fn start() -> DefinitionsBuilder<'def>
pub fn start() -> DefinitionsBuilder<'def>
Create a definition generator with the given name as the first definition group
pub fn iter(&self) -> Iter<'_, (Cow<'def, str>, Definition<'def>)>
pub fn iter_mut(&mut self) -> IterMut<'_, (Cow<'def, str>, Definition<'def>)>
Trait Implementations§
Source§impl<'def> Clone for Definitions<'def>
impl<'def> Clone for Definitions<'def>
Source§fn clone(&self) -> Definitions<'def>
fn clone(&self) -> Definitions<'def>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'def> Debug for Definitions<'def>
impl<'def> Debug for Definitions<'def>
Source§impl<'def> Default for Definitions<'def>
impl<'def> Default for Definitions<'def>
Source§fn default() -> Definitions<'def>
fn default() -> Definitions<'def>
Returns the “default value” for a type. Read more
Source§impl<'def> IntoIterator for Definitions<'def>
impl<'def> IntoIterator for Definitions<'def>
Source§type IntoIter = IntoIter<<Definitions<'def> as IntoIterator>::Item>
type IntoIter = IntoIter<<Definitions<'def> as IntoIterator>::Item>
Which kind of iterator are we turning this into?
Auto Trait Implementations§
impl<'def> Freeze for Definitions<'def>
impl<'def> RefUnwindSafe for Definitions<'def>
impl<'def> Send for Definitions<'def>
impl<'def> Sync for Definitions<'def>
impl<'def> Unpin for Definitions<'def>
impl<'def> UnwindSafe for Definitions<'def>
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