Struct spirt::qptr::QPtrMemUsage
source · pub struct QPtrMemUsage {
pub max_size: Option<u32>,
pub kind: QPtrMemUsageKind,
}
Fields§
§max_size: Option<u32>
If present, this is a worst-case upper bound on memory accesses that may be performed through this pointer.
kind: QPtrMemUsageKind
Implementations§
source§impl QPtrMemUsage
impl QPtrMemUsage
Trait Implementations§
source§impl Clone for QPtrMemUsage
impl Clone for QPtrMemUsage
source§fn clone(&self) -> QPtrMemUsage
fn clone(&self) -> QPtrMemUsage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for QPtrMemUsage
impl Hash for QPtrMemUsage
source§impl InnerTransform for QPtrMemUsage
impl InnerTransform for QPtrMemUsage
fn inner_transform_with( &self, transformer: &mut impl Transformer ) -> Transformed<Self>
source§impl InnerVisit for QPtrMemUsage
impl InnerVisit for QPtrMemUsage
fn inner_visit_with<'a>(&'a self, visitor: &mut impl Visitor<'a>)
source§impl PartialEq<QPtrMemUsage> for QPtrMemUsage
impl PartialEq<QPtrMemUsage> for QPtrMemUsage
source§fn eq(&self, other: &QPtrMemUsage) -> bool
fn eq(&self, other: &QPtrMemUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Print for QPtrMemUsage
impl Print for QPtrMemUsage
impl Eq for QPtrMemUsage
impl StructuralEq for QPtrMemUsage
impl StructuralPartialEq for QPtrMemUsage
Auto Trait Implementations§
impl RefUnwindSafe for QPtrMemUsage
impl !Send for QPtrMemUsage
impl !Sync for QPtrMemUsage
impl Unpin for QPtrMemUsage
impl UnwindSafe for QPtrMemUsage
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
source§impl<'a, T, V> DynInnerVisit<'a, V> for Twhere
T: InnerVisit,
V: Visitor<'a>,
impl<'a, T, V> DynInnerVisit<'a, V> for Twhere T: InnerVisit, V: Visitor<'a>,
fn dyn_inner_visit_with(&'a self, visitor: &mut V)
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.