pub struct Definitions {
pub inner: BTreeMap<String, Definition>,
}
Expand description
Represents the definitions in a blueprint, which is a map of definition names to their corresponding definitions.
Fields§
§inner: BTreeMap<String, Definition>
Trait Implementations§
Source§impl Clone for Definitions
impl Clone for Definitions
Source§fn clone(&self) -> Definitions
fn clone(&self) -> Definitions
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 Definitions
impl Debug for Definitions
Source§impl Default for Definitions
impl Default for Definitions
Source§fn default() -> Definitions
fn default() -> Definitions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Definitions
impl<'de> Deserialize<'de> for Definitions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Definitions
impl RefUnwindSafe for Definitions
impl Send for Definitions
impl Sync for Definitions
impl Unpin for Definitions
impl UnwindSafe for Definitions
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