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
)