Struct pelite::image::VS_VERSION
source · [−]Fields
Minor: u16
Major: u16
Build: u16
Patch: u16
Trait Implementations
sourceimpl Clone for VS_VERSION
impl Clone for VS_VERSION
sourcefn clone(&self) -> VS_VERSION
fn clone(&self) -> VS_VERSION
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VS_VERSION
impl Debug for VS_VERSION
sourceimpl Display for VS_VERSION
impl Display for VS_VERSION
sourceimpl Ord for VS_VERSION
impl Ord for VS_VERSION
sourcefn cmp(&self, other: &VS_VERSION) -> Ordering
fn cmp(&self, other: &VS_VERSION) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<VS_VERSION> for VS_VERSION
impl PartialEq<VS_VERSION> for VS_VERSION
sourcefn eq(&self, other: &VS_VERSION) -> bool
fn eq(&self, other: &VS_VERSION) -> bool
sourceimpl PartialOrd<VS_VERSION> for VS_VERSION
impl PartialOrd<VS_VERSION> for VS_VERSION
sourcefn partial_cmp(&self, other: &VS_VERSION) -> Option<Ordering>
fn partial_cmp(&self, other: &VS_VERSION) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Pod for VS_VERSION
impl Pod for VS_VERSION
sourcefn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a byte slice.
sourcefn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a mutable byte slice.
sourcefn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
sourcefn as_data_view_mut(&mut self) -> &mut DataView
fn as_data_view_mut(&mut self) -> &mut DataView
Returns a mutable data view into the object’s memory.
sourcefn transmute_ref<T>(&self) -> &Twhere
T: Pod,
fn transmute_ref<T>(&self) -> &Twhere
T: Pod,
Safely transmutes references to another type. Read more
sourcefn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
fn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
Safely transmutes references to another type. Read more
impl Copy for VS_VERSION
impl Eq for VS_VERSION
impl StructuralEq for VS_VERSION
impl StructuralPartialEq for VS_VERSION
Auto Trait Implementations
impl RefUnwindSafe for VS_VERSION
impl Send for VS_VERSION
impl Sync for VS_VERSION
impl Unpin for VS_VERSION
impl UnwindSafe for VS_VERSION
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more