Fields
initial: u32
maximum: Option<u32>
Trait Implementations
impl Clone for ResizableLimits
impl Clone for ResizableLimits
pub fn clone(&self) -> ResizableLimits
pub fn clone(&self) -> ResizableLimits
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ResizableLimits
impl Debug for ResizableLimits
impl Hash for ResizableLimits
impl Hash for ResizableLimits
impl PartialEq<ResizableLimits> for ResizableLimits
impl PartialEq<ResizableLimits> for ResizableLimits
pub fn eq(&self, other: &ResizableLimits) -> bool
pub fn eq(&self, other: &ResizableLimits) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ResizableLimits) -> bool
pub fn ne(&self, other: &ResizableLimits) -> bool
This method tests for !=
.
impl Copy for ResizableLimits
impl Eq for ResizableLimits
impl StructuralEq for ResizableLimits
impl StructuralPartialEq for ResizableLimits
Auto Trait Implementations
impl RefUnwindSafe for ResizableLimits
impl Send for ResizableLimits
impl Sync for ResizableLimits
impl Unpin for ResizableLimits
impl UnwindSafe for ResizableLimits
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more