Struct ra_ap_limit::Limit
source · [−]pub struct Limit { /* private fields */ }
Expand description
Represents a struct used to enforce a numerical limit.
Implementations
sourceimpl Limit
impl Limit
sourcepub const fn new_tracking(upper_bound: usize) -> Self
pub const fn new_tracking(upper_bound: usize) -> Self
Creates a new limit.
Auto Trait Implementations
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more