Struct boring_sys::spake2_role_t
source · #[repr(transparent)]pub struct spake2_role_t(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl spake2_role_t
impl spake2_role_t
pub const spake2_role_alice: spake2_role_t = _
source§impl spake2_role_t
impl spake2_role_t
pub const spake2_role_bob: spake2_role_t = _
Trait Implementations§
source§impl Clone for spake2_role_t
impl Clone for spake2_role_t
source§fn clone(&self) -> spake2_role_t
fn clone(&self) -> spake2_role_t
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 spake2_role_t
impl Debug for spake2_role_t
source§impl Hash for spake2_role_t
impl Hash for spake2_role_t
source§impl PartialEq for spake2_role_t
impl PartialEq for spake2_role_t
source§fn eq(&self, other: &spake2_role_t) -> bool
fn eq(&self, other: &spake2_role_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spake2_role_t
impl Eq for spake2_role_t
impl StructuralPartialEq for spake2_role_t
Auto Trait Implementations§
impl Freeze for spake2_role_t
impl RefUnwindSafe for spake2_role_t
impl Send for spake2_role_t
impl Sync for spake2_role_t
impl Unpin for spake2_role_t
impl UnwindSafe for spake2_role_t
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