pub struct FrameworkGeneration {
pub major: u16,
pub minor: u16,
}Fields§
§major: u16§minor: u16Implementations§
Source§impl FrameworkGeneration
impl FrameworkGeneration
pub const fn new(major: u16, minor: u16) -> FrameworkGeneration
Trait Implementations§
Source§impl Clone for FrameworkGeneration
impl Clone for FrameworkGeneration
Source§fn clone(&self) -> FrameworkGeneration
fn clone(&self) -> FrameworkGeneration
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 moreimpl Copy for FrameworkGeneration
Source§impl Debug for FrameworkGeneration
impl Debug for FrameworkGeneration
Source§impl<'de> Deserialize<'de> for FrameworkGeneration
impl<'de> Deserialize<'de> for FrameworkGeneration
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FrameworkGeneration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FrameworkGeneration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrameworkGeneration
Source§impl Ord for FrameworkGeneration
impl Ord for FrameworkGeneration
Source§fn cmp(&self, other: &FrameworkGeneration) -> Ordering
fn cmp(&self, other: &FrameworkGeneration) -> 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 FrameworkGeneration
impl PartialEq for FrameworkGeneration
Source§fn eq(&self, other: &FrameworkGeneration) -> bool
fn eq(&self, other: &FrameworkGeneration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FrameworkGeneration
impl PartialOrd for FrameworkGeneration
Source§impl Serialize for FrameworkGeneration
impl Serialize for FrameworkGeneration
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FrameworkGeneration
Auto Trait Implementations§
impl Freeze for FrameworkGeneration
impl RefUnwindSafe for FrameworkGeneration
impl Send for FrameworkGeneration
impl Sync for FrameworkGeneration
impl Unpin for FrameworkGeneration
impl UnsafeUnpin for FrameworkGeneration
impl UnwindSafe for FrameworkGeneration
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<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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.