pub struct VersionMarker;
Expand description
A version marker used to ensure that serialized clif ir is never deserialized with a different version of Cranelift.
Trait Implementations§
Source§impl Clone for VersionMarker
impl Clone for VersionMarker
Source§fn clone(&self) -> VersionMarker
fn clone(&self) -> VersionMarker
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 VersionMarker
impl Debug for VersionMarker
Source§impl Default for VersionMarker
impl Default for VersionMarker
Source§fn default() -> VersionMarker
fn default() -> VersionMarker
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionMarker
Available on crate feature enable-serde
only.
impl<'de> Deserialize<'de> for VersionMarker
Available on crate feature
enable-serde
only.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 Hash for VersionMarker
impl Hash for VersionMarker
Source§impl PartialEq for VersionMarker
impl PartialEq for VersionMarker
Source§impl Serialize for VersionMarker
Available on crate feature enable-serde
only.
impl Serialize for VersionMarker
Available on crate feature
enable-serde
only.impl Copy for VersionMarker
impl StructuralPartialEq for VersionMarker
Auto Trait Implementations§
impl Freeze for VersionMarker
impl RefUnwindSafe for VersionMarker
impl Send for VersionMarker
impl Sync for VersionMarker
impl Unpin for VersionMarker
impl UnwindSafe for VersionMarker
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