pub struct ProjectionVersion(pub u32);Expand description
Versioned projection namespace. Different field visibility must never be merged accidentally.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ProjectionVersion
impl Clone for ProjectionVersion
Source§fn clone(&self) -> ProjectionVersion
fn clone(&self) -> ProjectionVersion
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 ProjectionVersion
Source§impl Debug for ProjectionVersion
impl Debug for ProjectionVersion
Source§impl Default for ProjectionVersion
impl Default for ProjectionVersion
Source§fn default() -> ProjectionVersion
fn default() -> ProjectionVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectionVersion
impl<'de> Deserialize<'de> for ProjectionVersion
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
impl Eq for ProjectionVersion
Source§impl Hash for ProjectionVersion
impl Hash for ProjectionVersion
Source§impl Ord for ProjectionVersion
impl Ord for ProjectionVersion
Source§fn cmp(&self, other: &ProjectionVersion) -> Ordering
fn cmp(&self, other: &ProjectionVersion) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProjectionVersion
impl PartialEq for ProjectionVersion
Source§impl PartialOrd for ProjectionVersion
impl PartialOrd for ProjectionVersion
Source§impl Serialize for ProjectionVersion
impl Serialize for ProjectionVersion
impl StructuralPartialEq for ProjectionVersion
Auto Trait Implementations§
impl Freeze for ProjectionVersion
impl RefUnwindSafe for ProjectionVersion
impl Send for ProjectionVersion
impl Sync for ProjectionVersion
impl Unpin for ProjectionVersion
impl UnsafeUnpin for ProjectionVersion
impl UnwindSafe for ProjectionVersion
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