pub enum Position_type {
Start(u64),
Current(i64),
End(i64),
}
Expand description
Position type
This type is used to set the position in a file.
§Examples
use File_system::Position_type;
let Position = Position_type::Start(0);
Variants§
Trait Implementations§
Source§impl Clone for Position_type
impl Clone for Position_type
Source§fn clone(&self) -> Position_type
fn clone(&self) -> Position_type
Returns a copy of the value. Read more
1.0.0 · 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 Position_type
impl Debug for Position_type
Source§impl PartialEq for Position_type
impl PartialEq for Position_type
impl Copy for Position_type
impl Eq for Position_type
impl StructuralPartialEq for Position_type
Auto Trait Implementations§
impl Freeze for Position_type
impl RefUnwindSafe for Position_type
impl Send for Position_type
impl Sync for Position_type
impl Unpin for Position_type
impl UnwindSafe for Position_type
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