#[repr(C)]pub struct BufferSearchSettings {
pub min_address: usize,
pub max_address: usize,
pub size: u32,
}Expand description
Settings to pass to buffer search mechanisms.
Fields§
§min_address: usizeMinimum address of the allocation.
max_address: usizeMaximum address of the allocation.
size: u32Required size of the data.
Implementations§
Source§impl BufferSearchSettings
impl BufferSearchSettings
Sourcepub fn from_proximity(proximity: usize, target: usize, size: usize) -> Self
pub fn from_proximity(proximity: usize, target: usize, size: usize) -> Self
Trait Implementations§
Source§impl Clone for BufferSearchSettings
impl Clone for BufferSearchSettings
Source§fn clone(&self) -> BufferSearchSettings
fn clone(&self) -> BufferSearchSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BufferSearchSettings
Source§impl Debug for BufferSearchSettings
impl Debug for BufferSearchSettings
Auto Trait Implementations§
impl Freeze for BufferSearchSettings
impl RefUnwindSafe for BufferSearchSettings
impl Send for BufferSearchSettings
impl Sync for BufferSearchSettings
impl Unpin for BufferSearchSettings
impl UnsafeUnpin for BufferSearchSettings
impl UnwindSafe for BufferSearchSettings
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