#[non_exhaustive]pub struct MetaMorpheusFormat {
pub version: MetaMorpheusVersion,
/* private fields */
}Expand description
The type to contain the format description for MetaMorpheus files.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: MetaMorpheusVersionThe version of this format
Trait Implementations§
Source§impl Clone for MetaMorpheusFormat
impl Clone for MetaMorpheusFormat
Source§fn clone(&self) -> MetaMorpheusFormat
fn clone(&self) -> MetaMorpheusFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetaMorpheusFormat
impl Debug for MetaMorpheusFormat
Source§impl Default for MetaMorpheusFormat
impl Default for MetaMorpheusFormat
Source§fn default() -> MetaMorpheusFormat
fn default() -> MetaMorpheusFormat
Returns the “default value” for a type. Read more
Source§impl Deserialize<'static> for MetaMorpheusFormat
impl Deserialize<'static> for MetaMorpheusFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MetaMorpheusFormat
Source§impl Hash for MetaMorpheusFormat
impl Hash for MetaMorpheusFormat
Source§impl Ord for MetaMorpheusFormat
impl Ord for MetaMorpheusFormat
Source§fn cmp(&self, other: &MetaMorpheusFormat) -> Ordering
fn cmp(&self, other: &MetaMorpheusFormat) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetaMorpheusFormat
impl PartialEq for MetaMorpheusFormat
Source§impl PartialOrd for MetaMorpheusFormat
impl PartialOrd for MetaMorpheusFormat
Source§impl Serialize for MetaMorpheusFormat
impl Serialize for MetaMorpheusFormat
impl StructuralPartialEq for MetaMorpheusFormat
Auto Trait Implementations§
impl Freeze for MetaMorpheusFormat
impl RefUnwindSafe for MetaMorpheusFormat
impl Send for MetaMorpheusFormat
impl Sync for MetaMorpheusFormat
impl Unpin for MetaMorpheusFormat
impl UnsafeUnpin for MetaMorpheusFormat
impl UnwindSafe for MetaMorpheusFormat
Blanket Implementations§
impl<T> AtLeast<T> for T
impl<T> AtMax<T> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.Source§impl<T> HighestOf<T> for T
impl<T> HighestOf<T> for T
Source§type HighestLevel = T
type HighestLevel = T
This is the highest complexity level out of Self and the type parameter
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.