Struct selene_lib::standard_library::v1::StandardLibrary
source · pub struct StandardLibrary {
pub meta: Option<StandardLibraryMeta>,
pub globals: BTreeMap<String, Field>,
pub structs: BTreeMap<String, Field>,
}
Fields§
§meta: Option<StandardLibraryMeta>
§globals: BTreeMap<String, Field>
§structs: BTreeMap<String, Field>
Trait Implementations§
source§impl Clone for StandardLibrary
impl Clone for StandardLibrary
source§fn clone(&self) -> StandardLibrary
fn clone(&self) -> StandardLibrary
Returns a copy 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 StandardLibrary
impl Debug for StandardLibrary
source§impl Default for StandardLibrary
impl Default for StandardLibrary
source§fn default() -> StandardLibrary
fn default() -> StandardLibrary
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StandardLibrary
impl<'de> Deserialize<'de> for StandardLibrary
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
source§impl From<StandardLibrary> for StandardLibrary
impl From<StandardLibrary> for StandardLibrary
source§fn from(v1: StandardLibrary) -> Self
fn from(v1: StandardLibrary) -> Self
Converts to this type from the input type.
source§impl PartialEq for StandardLibrary
impl PartialEq for StandardLibrary
source§fn eq(&self, other: &StandardLibrary) -> bool
fn eq(&self, other: &StandardLibrary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StandardLibrary
impl Serialize for StandardLibrary
impl Eq for StandardLibrary
impl StructuralPartialEq for StandardLibrary
Auto Trait Implementations§
impl Freeze for StandardLibrary
impl RefUnwindSafe for StandardLibrary
impl Send for StandardLibrary
impl Sync for StandardLibrary
impl Unpin for StandardLibrary
impl UnwindSafe for StandardLibrary
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.