#[repr(C)]pub struct aws_crt_statistics_base {
pub category: aws_crt_statistics_category_t,
}
Expand description
Pattern-struct that functions as a base “class” for all statistics structures. To conform to the pattern, a statistics structure must have its first member be the category. In that case it becomes “safe” to cast from aws_crt_statistics_base to the specific statistics structure based on the category value.
Fields
category: aws_crt_statistics_category_t
Trait Implementations
sourceimpl Clone for aws_crt_statistics_base
impl Clone for aws_crt_statistics_base
sourcefn clone(&self) -> aws_crt_statistics_base
fn clone(&self) -> aws_crt_statistics_base
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_crt_statistics_base
impl Debug for aws_crt_statistics_base
sourceimpl Default for aws_crt_statistics_base
impl Default for aws_crt_statistics_base
sourcefn default() -> aws_crt_statistics_base
fn default() -> aws_crt_statistics_base
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_crt_statistics_base> for aws_crt_statistics_base
impl PartialEq<aws_crt_statistics_base> for aws_crt_statistics_base
sourcefn eq(&self, other: &aws_crt_statistics_base) -> bool
fn eq(&self, other: &aws_crt_statistics_base) -> bool
impl Copy for aws_crt_statistics_base
impl Eq for aws_crt_statistics_base
impl StructuralEq for aws_crt_statistics_base
impl StructuralPartialEq for aws_crt_statistics_base
Auto Trait Implementations
impl RefUnwindSafe for aws_crt_statistics_base
impl Send for aws_crt_statistics_base
impl Sync for aws_crt_statistics_base
impl Unpin for aws_crt_statistics_base
impl UnwindSafe for aws_crt_statistics_base
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more