#[repr(i32)]pub enum Whence {
SeekSet,
SeekCur,
SeekEnd,
}
Available on crate feature
fs
only.Variants§
SeekSet
Specify an offset relative to the start of the file.
SeekCur
Specify an offset relative to the current file location.
SeekEnd
Specify an offset relative to the end of the file.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Whence
impl Send for Whence
impl Sync for Whence
impl Unpin for Whence
impl UnwindSafe for Whence
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