Struct FileType
#[repr(transparent)]pub struct FileType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl FileType
impl FileType
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Unknown file type.
pub const TRANSPARENT: Self
pub const TRANSPARENT: Self
File structure consisting of a sequence of bytes.
pub const CYCLIC: Self
pub const CYCLIC: Self
File structure consisting of a sequence of records, each containing the same fixed size in chronological order. Once all the records have been used, the oldest data is overwritten.
pub const LINEAR_FIXED: Self
pub const LINEAR_FIXED: Self
File structure consisting of a sequence of records, each containing the same fixed size.
Trait Implementations§
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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