#[repr(i32)]pub enum SeekPosition {
kSET = 0,
kCUR = 1,
kEND = 2,
}Expand description
! ! \enum SeekPosition ! \brief Controls the seek mode of IStreamReaderV2. !
Variants§
kSET = 0
! From the beginning of the file.
kCUR = 1
! From the current position of the file.
kEND = 2
! From the tail of the file.
Trait Implementations§
Source§impl Clone for SeekPosition
impl Clone for SeekPosition
Source§fn clone(&self) -> SeekPosition
fn clone(&self) -> SeekPosition
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 moreSource§impl Debug for SeekPosition
impl Debug for SeekPosition
Source§impl From<SeekPosition> for SeekPosition
impl From<SeekPosition> for SeekPosition
Source§fn from(value: SeekPosition) -> Self
fn from(value: SeekPosition) -> Self
Converts to this type from the input type.
Source§impl Hash for SeekPosition
impl Hash for SeekPosition
Source§impl Into<SeekPosition> for SeekPosition
impl Into<SeekPosition> for SeekPosition
Source§fn into(self) -> SeekPosition
fn into(self) -> SeekPosition
Converts this type into the (usually inferred) input type.
Source§impl Ord for SeekPosition
impl Ord for SeekPosition
Source§fn cmp(&self, other: &SeekPosition) -> Ordering
fn cmp(&self, other: &SeekPosition) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SeekPosition
impl PartialEq for SeekPosition
Source§fn eq(&self, other: &SeekPosition) -> bool
fn eq(&self, other: &SeekPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SeekPosition
impl PartialOrd for SeekPosition
impl Copy for SeekPosition
impl Eq for SeekPosition
impl StructuralPartialEq for SeekPosition
Auto Trait Implementations§
impl Freeze for SeekPosition
impl RefUnwindSafe for SeekPosition
impl Send for SeekPosition
impl Sync for SeekPosition
impl Unpin for SeekPosition
impl UnsafeUnpin for SeekPosition
impl UnwindSafe for SeekPosition
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