pub struct AeronStrToPtrHashMapKey { /* private fields */ }
Implementations§
source§impl AeronStrToPtrHashMapKey
impl AeronStrToPtrHashMapKey
pub fn new( str_: &str, hash_code: u64, str_length: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn str_(&self) -> &str
pub fn hash_code(&self) -> u64
pub fn str_length(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_str_to_ptr_hash_map_key_t
Trait Implementations§
source§impl Clone for AeronStrToPtrHashMapKey
impl Clone for AeronStrToPtrHashMapKey
source§fn clone(&self) -> AeronStrToPtrHashMapKey
fn clone(&self) -> AeronStrToPtrHashMapKey
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 AeronStrToPtrHashMapKey
impl Debug for AeronStrToPtrHashMapKey
source§impl Default for AeronStrToPtrHashMapKey
impl Default for AeronStrToPtrHashMapKey
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronStrToPtrHashMapKey
impl Deref for AeronStrToPtrHashMapKey
source§impl From<&AeronStrToPtrHashMapKey> for *mut aeron_str_to_ptr_hash_map_key_t
impl From<&AeronStrToPtrHashMapKey> for *mut aeron_str_to_ptr_hash_map_key_t
source§fn from(value: &AeronStrToPtrHashMapKey) -> Self
fn from(value: &AeronStrToPtrHashMapKey) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
impl From<*const aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
source§fn from(value: *const aeron_str_to_ptr_hash_map_key_t) -> Self
fn from(value: *const aeron_str_to_ptr_hash_map_key_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
impl From<*mut aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
source§fn from(value: *mut aeron_str_to_ptr_hash_map_key_t) -> Self
fn from(value: *mut aeron_str_to_ptr_hash_map_key_t) -> Self
Converts to this type from the input type.
source§impl From<AeronStrToPtrHashMapKey> for *mut aeron_str_to_ptr_hash_map_key_t
impl From<AeronStrToPtrHashMapKey> for *mut aeron_str_to_ptr_hash_map_key_t
source§fn from(value: AeronStrToPtrHashMapKey) -> Self
fn from(value: AeronStrToPtrHashMapKey) -> Self
Converts to this type from the input type.
source§impl From<AeronStrToPtrHashMapKey> for aeron_str_to_ptr_hash_map_key_t
impl From<AeronStrToPtrHashMapKey> for aeron_str_to_ptr_hash_map_key_t
source§fn from(value: AeronStrToPtrHashMapKey) -> Self
fn from(value: AeronStrToPtrHashMapKey) -> Self
Converts to this type from the input type.
source§impl From<aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
impl From<aeron_str_to_ptr_hash_map_key_stct> for AeronStrToPtrHashMapKey
source§fn from(value: aeron_str_to_ptr_hash_map_key_t) -> Self
fn from(value: aeron_str_to_ptr_hash_map_key_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronStrToPtrHashMapKey
impl !RefUnwindSafe for AeronStrToPtrHashMapKey
impl !Send for AeronStrToPtrHashMapKey
impl !Sync for AeronStrToPtrHashMapKey
impl Unpin for AeronStrToPtrHashMapKey
impl !UnwindSafe for AeronStrToPtrHashMapKey
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
)