Struct cranelift_codegen::ir::function::VersionMarker
source · 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<VersionMarker> for VersionMarker
impl PartialEq<VersionMarker> for VersionMarker
source§fn eq(&self, other: &VersionMarker) -> bool
fn eq(&self, other: &VersionMarker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VersionMarker
impl StructuralPartialEq for VersionMarker
Auto Trait Implementations§
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