pub struct Definition {
pub entries: Vec<Entry>,
}Expand description
A named group of definition entries
This is commonly represented as an individual definition file
Fields§
§entries: Vec<Entry>Implementations§
Trait Implementations§
Source§impl Clone for Definition
impl Clone for Definition
Source§fn clone(&self) -> Definition
fn clone(&self) -> Definition
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 Debug for Definition
impl Debug for Definition
Source§impl Default for Definition
impl Default for Definition
Source§fn default() -> Definition
fn default() -> Definition
Returns the “default value” for a type. Read more
Source§impl From<DefinitionBuilder> for Definition
impl From<DefinitionBuilder> for Definition
Source§fn from(value: DefinitionBuilder) -> Self
fn from(value: DefinitionBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Definition
impl RefUnwindSafe for Definition
impl Send for Definition
impl Sync for Definition
impl Unpin for Definition
impl UnwindSafe for Definition
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