#[repr(u8)]pub enum SeekWhence {
Set = 0,
Cur = 1,
End = 2,
Data = 3,
Hole = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for SeekWhence
impl Clone for SeekWhence
Source§fn clone(&self) -> SeekWhence
fn clone(&self) -> SeekWhence
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SeekWhence
impl Debug for SeekWhence
Source§impl From<SeekWhence> for u8
impl From<SeekWhence> for u8
Source§fn from(enum_value: SeekWhence) -> Self
fn from(enum_value: SeekWhence) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SeekWhence
impl PartialEq for SeekWhence
Source§impl TryFrom<u8> for SeekWhence
impl TryFrom<u8> for SeekWhence
Source§type Error = TryFromPrimitiveError<SeekWhence>
type Error = TryFromPrimitiveError<SeekWhence>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SeekWhence
impl TryFromPrimitive for SeekWhence
const NAME: &'static str = "SeekWhence"
type Primitive = u8
type Error = TryFromPrimitiveError<SeekWhence>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SeekWhence
impl Eq for SeekWhence
impl StructuralPartialEq for SeekWhence
Auto Trait Implementations§
impl Freeze for SeekWhence
impl RefUnwindSafe for SeekWhence
impl Send for SeekWhence
impl Sync for SeekWhence
impl Unpin for SeekWhence
impl UnwindSafe for SeekWhence
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