pub struct File {
pub descriptor: isize,
pub information: Information,
}Fields§
§descriptor: isize§information: InformationTrait Implementations§
Source§impl Bytes<Origin, Origin> for File
impl Bytes<Origin, Origin> for File
const BYTES_SIZE: usize = 16usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn to_be_bytes(&self) -> [u8; Self::BYTES_SIZE]
fn from_le_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; Self::BYTES_SIZE]) -> Selfwhere
Self: Sized,
impl Copy for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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