Struct winsafe::co::IMAGE_TYPE
source · pub struct IMAGE_TYPE(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
bm::GetImage
img_type
;
stm::GetImage
img_type
(u8
).
Originally has IMAGE
prefix.
Implementations§
source§impl IMAGE_TYPE
impl IMAGE_TYPE
sourcepub const unsafe fn from_raw(v: u8) -> Self
pub const unsafe fn from_raw(v: u8) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u8
pub const fn raw(&self) -> u8
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
source§impl AsRef<u8> for IMAGE_TYPE
impl AsRef<u8> for IMAGE_TYPE
source§impl Binary for IMAGE_TYPE
impl Binary for IMAGE_TYPE
source§impl Clone for IMAGE_TYPE
impl Clone for IMAGE_TYPE
source§fn clone(&self) -> IMAGE_TYPE
fn clone(&self) -> IMAGE_TYPE
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 IMAGE_TYPE
impl Debug for IMAGE_TYPE
source§impl Default for IMAGE_TYPE
impl Default for IMAGE_TYPE
source§fn default() -> IMAGE_TYPE
fn default() -> IMAGE_TYPE
Returns the “default value” for a type. Read more
source§impl Display for IMAGE_TYPE
impl Display for IMAGE_TYPE
source§impl From<IMAGE_TYPE> for u8
impl From<IMAGE_TYPE> for u8
source§fn from(v: IMAGE_TYPE) -> Self
fn from(v: IMAGE_TYPE) -> Self
Converts to this type from the input type.
source§impl Hash for IMAGE_TYPE
impl Hash for IMAGE_TYPE
source§impl IntUnderlying for IMAGE_TYPE
impl IntUnderlying for IMAGE_TYPE
source§impl LowerHex for IMAGE_TYPE
impl LowerHex for IMAGE_TYPE
source§impl Octal for IMAGE_TYPE
impl Octal for IMAGE_TYPE
source§impl Ord for IMAGE_TYPE
impl Ord for IMAGE_TYPE
source§impl PartialEq for IMAGE_TYPE
impl PartialEq for IMAGE_TYPE
source§fn eq(&self, other: &IMAGE_TYPE) -> bool
fn eq(&self, other: &IMAGE_TYPE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IMAGE_TYPE
impl PartialOrd for IMAGE_TYPE
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl UpperHex for IMAGE_TYPE
impl UpperHex for IMAGE_TYPE
impl Copy for IMAGE_TYPE
impl Eq for IMAGE_TYPE
impl NativeConst for IMAGE_TYPE
impl Send for IMAGE_TYPE
impl StructuralPartialEq for IMAGE_TYPE
Auto Trait Implementations§
impl Freeze for IMAGE_TYPE
impl RefUnwindSafe for IMAGE_TYPE
impl Sync for IMAGE_TYPE
impl Unpin for IMAGE_TYPE
impl UnwindSafe for IMAGE_TYPE
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