Struct winsafe::co::STREAM_SEEK
source · pub struct STREAM_SEEK(/* private fields */);
Available on crate features
kernel
and ole
only.Expand description
STREAM_SEEK
enumeration (u32
).
Implementations§
source§impl STREAM_SEEK
impl STREAM_SEEK
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> 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) -> u32
pub const fn raw(&self) -> u32
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<u32> for STREAM_SEEK
impl AsRef<u32> for STREAM_SEEK
source§impl Binary for STREAM_SEEK
impl Binary for STREAM_SEEK
source§impl Clone for STREAM_SEEK
impl Clone for STREAM_SEEK
source§fn clone(&self) -> STREAM_SEEK
fn clone(&self) -> STREAM_SEEK
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 STREAM_SEEK
impl Debug for STREAM_SEEK
source§impl Default for STREAM_SEEK
impl Default for STREAM_SEEK
source§fn default() -> STREAM_SEEK
fn default() -> STREAM_SEEK
Returns the “default value” for a type. Read more
source§impl Display for STREAM_SEEK
impl Display for STREAM_SEEK
source§impl From<STREAM_SEEK> for u32
impl From<STREAM_SEEK> for u32
source§fn from(v: STREAM_SEEK) -> Self
fn from(v: STREAM_SEEK) -> Self
Converts to this type from the input type.
source§impl Hash for STREAM_SEEK
impl Hash for STREAM_SEEK
source§impl IntUnderlying for STREAM_SEEK
impl IntUnderlying for STREAM_SEEK
source§impl LowerHex for STREAM_SEEK
impl LowerHex for STREAM_SEEK
source§impl Octal for STREAM_SEEK
impl Octal for STREAM_SEEK
source§impl Ord for STREAM_SEEK
impl Ord for STREAM_SEEK
source§impl PartialEq for STREAM_SEEK
impl PartialEq for STREAM_SEEK
source§fn eq(&self, other: &STREAM_SEEK) -> bool
fn eq(&self, other: &STREAM_SEEK) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for STREAM_SEEK
impl PartialOrd for STREAM_SEEK
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 STREAM_SEEK
impl UpperHex for STREAM_SEEK
impl Copy for STREAM_SEEK
impl Eq for STREAM_SEEK
impl NativeConst for STREAM_SEEK
impl Send for STREAM_SEEK
impl StructuralPartialEq for STREAM_SEEK
Auto Trait Implementations§
impl Freeze for STREAM_SEEK
impl RefUnwindSafe for STREAM_SEEK
impl Sync for STREAM_SEEK
impl Unpin for STREAM_SEEK
impl UnwindSafe for STREAM_SEEK
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