pub struct LayoutLimits {
pub maximum_mapping_size: u64,
pub maximum_slot_count: u32,
pub maximum_acknowledgement_count: u32,
pub maximum_payload_bytes: u32,
}Expand description
Bounds applied while calculating or validating a region.
Fields§
§maximum_mapping_size: u64Maximum complete mapping size.
maximum_slot_count: u32Maximum slots in one region.
maximum_acknowledgement_count: u32Maximum acknowledgement cells in one region.
maximum_payload_bytes: u32Maximum opaque bytes in one slot.
Trait Implementations§
Source§impl Clone for LayoutLimits
impl Clone for LayoutLimits
Source§fn clone(&self) -> LayoutLimits
fn clone(&self) -> LayoutLimits
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 LayoutLimits
Source§impl Debug for LayoutLimits
impl Debug for LayoutLimits
impl Eq for LayoutLimits
Source§impl PartialEq for LayoutLimits
impl PartialEq for LayoutLimits
impl StructuralPartialEq for LayoutLimits
Auto Trait Implementations§
impl Freeze for LayoutLimits
impl RefUnwindSafe for LayoutLimits
impl Send for LayoutLimits
impl Sync for LayoutLimits
impl Unpin for LayoutLimits
impl UnsafeUnpin for LayoutLimits
impl UnwindSafe for LayoutLimits
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