#[repr(i16)]pub enum FlockWhence {
SEEK_SET = 0,
SEEK_CUR = 1,
SEEK_END = 2,
}Variants§
Trait Implementations§
Source§impl Clone for FlockWhence
impl Clone for FlockWhence
Source§fn clone(&self) -> FlockWhence
fn clone(&self) -> FlockWhence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlockWhence
Source§impl Debug for FlockWhence
impl Debug for FlockWhence
impl Eq for FlockWhence
Source§impl From<FlockWhence> for i16
impl From<FlockWhence> for i16
Source§fn from(enum_value: FlockWhence) -> Self
fn from(enum_value: FlockWhence) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlockWhence
impl PartialEq for FlockWhence
Source§fn eq(&self, other: &FlockWhence) -> bool
fn eq(&self, other: &FlockWhence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlockWhence
Source§impl TryFrom<i16> for FlockWhence
impl TryFrom<i16> for FlockWhence
Source§type Error = TryFromPrimitiveError<FlockWhence>
type Error = TryFromPrimitiveError<FlockWhence>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FlockWhence
impl TryFromPrimitive for FlockWhence
const NAME: &'static str = "FlockWhence"
type Primitive = i16
type Error = TryFromPrimitiveError<FlockWhence>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for FlockWhence
impl RefUnwindSafe for FlockWhence
impl Send for FlockWhence
impl Sync for FlockWhence
impl Unpin for FlockWhence
impl UnsafeUnpin for FlockWhence
impl UnwindSafe for FlockWhence
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