pub struct AeronSystemCounter { /* private fields */ }
Implementations§
source§impl AeronSystemCounter
impl AeronSystemCounter
pub fn new(label: &str, id: i32) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn label(&self) -> &str
pub fn id(&self) -> i32
pub fn get_inner(&self) -> *mut aeron_system_counter_t
Trait Implementations§
source§impl Clone for AeronSystemCounter
impl Clone for AeronSystemCounter
source§fn clone(&self) -> AeronSystemCounter
fn clone(&self) -> AeronSystemCounter
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 Debug for AeronSystemCounter
impl Debug for AeronSystemCounter
source§impl Default for AeronSystemCounter
impl Default for AeronSystemCounter
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronSystemCounter
impl Deref for AeronSystemCounter
source§impl From<&AeronSystemCounter> for *mut aeron_system_counter_t
impl From<&AeronSystemCounter> for *mut aeron_system_counter_t
source§fn from(value: &AeronSystemCounter) -> Self
fn from(value: &AeronSystemCounter) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_system_counter_stct> for AeronSystemCounter
impl From<*const aeron_system_counter_stct> for AeronSystemCounter
source§fn from(value: *const aeron_system_counter_t) -> Self
fn from(value: *const aeron_system_counter_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_system_counter_stct> for AeronSystemCounter
impl From<*mut aeron_system_counter_stct> for AeronSystemCounter
source§fn from(value: *mut aeron_system_counter_t) -> Self
fn from(value: *mut aeron_system_counter_t) -> Self
Converts to this type from the input type.
source§impl From<AeronSystemCounter> for *mut aeron_system_counter_t
impl From<AeronSystemCounter> for *mut aeron_system_counter_t
source§fn from(value: AeronSystemCounter) -> Self
fn from(value: AeronSystemCounter) -> Self
Converts to this type from the input type.
source§impl From<AeronSystemCounter> for aeron_system_counter_t
impl From<AeronSystemCounter> for aeron_system_counter_t
source§fn from(value: AeronSystemCounter) -> Self
fn from(value: AeronSystemCounter) -> Self
Converts to this type from the input type.
source§impl From<aeron_system_counter_stct> for AeronSystemCounter
impl From<aeron_system_counter_stct> for AeronSystemCounter
source§fn from(value: aeron_system_counter_t) -> Self
fn from(value: aeron_system_counter_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronSystemCounter
impl !RefUnwindSafe for AeronSystemCounter
impl !Send for AeronSystemCounter
impl !Sync for AeronSystemCounter
impl Unpin for AeronSystemCounter
impl !UnwindSafe for AeronSystemCounter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)