pub struct FrameLimits {
pub depth: usize,
pub work: usize,
}Expand description
Limits applied to one resumable frame.
Fields§
§depth: usizeMaximum nested frame depth accepted by the driver.
work: usizeMaximum work units available to each resume operation.
Trait Implementations§
Source§impl Clone for FrameLimits
impl Clone for FrameLimits
Source§fn clone(&self) -> FrameLimits
fn clone(&self) -> FrameLimits
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 FrameLimits
Source§impl Debug for FrameLimits
impl Debug for FrameLimits
impl Eq for FrameLimits
Source§impl PartialEq for FrameLimits
impl PartialEq for FrameLimits
impl StructuralPartialEq for FrameLimits
Auto Trait Implementations§
impl Freeze for FrameLimits
impl RefUnwindSafe for FrameLimits
impl Send for FrameLimits
impl Sync for FrameLimits
impl Unpin for FrameLimits
impl UnsafeUnpin for FrameLimits
impl UnwindSafe for FrameLimits
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