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
const BYTES_ALIGN: usize = 8usize
fn to_bytes(&self, endianness: bool) -> [u8; 16]
fn from_bytes(bytes: [u8; 16], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl NonPrimitive<Origin> for File
impl NonPrimitive<Origin> for File
const IS_PRIMITIVE: bool = false
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> Allocating<T> for T
impl<T> Allocating<T> for T
Source§fn deallocate(ptr: *mut T, numerosity: usize) -> bool
fn deallocate(ptr: *mut T, numerosity: usize) -> bool
Deallocate an array previously allocated with allocate_array
Source§fn allocate_slice(numerosity: usize) -> &'static mut [T]
fn allocate_slice(numerosity: usize) -> &'static mut [T]
Allocate and initialize a slice
fn allocate(numerosity: usize) -> *mut T
fn deallocate_slice(slice: &mut [T]) -> bool
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