#[repr(i32)]pub enum Origin {
Begin = 0,
Current = 1,
End = 2,
}Expand description
Reference point for a seek operation.
Variants§
Begin = 0
Seek relative to the start of the file.
Current = 1
Seek relative to the current position.
End = 2
Seek relative to the end of the file.
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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