File_system/Fundamentals/
Position.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Position type
///
/// This type is used to set the position in a file.
///
/// # Examples
///
/// ```rust
/// use File_system::Position_type;
///
/// let Position = Position_type::Start(0);
/// ```
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Position_type {
    Start(u64),
    Current(i64),
    End(i64),
}