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 Hash for VersionMarker
impl Hash for VersionMarker
source§impl PartialEq for VersionMarker
impl PartialEq for VersionMarker
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)