pub struct FileBackedMappingParameters {
pub path: PathBuf,
pub address: u64,
pub size: u64,
pub offset: u64,
pub writable: bool,
pub sync: bool,
pub align: bool,
pub ram: bool,
}Fields§
§path: PathBuf§address: u64§size: u64§offset: u64§writable: bool§sync: bool§align: bool§ram: boolWhether the mapping is for RAM or MMIO.
Implementations§
Trait Implementations§
Source§impl Clone for FileBackedMappingParameters
impl Clone for FileBackedMappingParameters
Source§fn clone(&self) -> FileBackedMappingParameters
fn clone(&self) -> FileBackedMappingParameters
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 FileBackedMappingParameters
impl Debug for FileBackedMappingParameters
Source§impl<'de> Deserialize<'de> for FileBackedMappingParameters
impl<'de> Deserialize<'de> for FileBackedMappingParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromArgValue for FileBackedMappingParameters
impl FromArgValue for FileBackedMappingParameters
Source§impl Ord for FileBackedMappingParameters
impl Ord for FileBackedMappingParameters
Source§fn cmp(&self, other: &FileBackedMappingParameters) -> Ordering
fn cmp(&self, other: &FileBackedMappingParameters) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FileBackedMappingParameters
impl PartialOrd for FileBackedMappingParameters
impl Eq for FileBackedMappingParameters
impl StructuralPartialEq for FileBackedMappingParameters
Auto Trait Implementations§
impl Freeze for FileBackedMappingParameters
impl RefUnwindSafe for FileBackedMappingParameters
impl Send for FileBackedMappingParameters
impl Sync for FileBackedMappingParameters
impl Unpin for FileBackedMappingParameters
impl UnwindSafe for FileBackedMappingParameters
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