Struct boring::bn::BigNumContextRef
source · pub struct BigNumContextRef(/* private fields */);
Expand description
A borrowed reference to a BigNumContext
.
Trait Implementations§
source§impl AsMut<BigNumContextRef> for BigNumContext
impl AsMut<BigNumContextRef> for BigNumContext
source§fn as_mut(&mut self) -> &mut BigNumContextRef
fn as_mut(&mut self) -> &mut BigNumContextRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<BigNumContextRef> for BigNumContext
impl AsRef<BigNumContextRef> for BigNumContext
source§fn as_ref(&self) -> &BigNumContextRef
fn as_ref(&self) -> &BigNumContextRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<BigNumContextRef> for BigNumContext
impl Borrow<BigNumContextRef> for BigNumContext
source§fn borrow(&self) -> &BigNumContextRef
fn borrow(&self) -> &BigNumContextRef
Immutably borrows from an owned value. Read more
source§impl BorrowMut<BigNumContextRef> for BigNumContext
impl BorrowMut<BigNumContextRef> for BigNumContext
source§fn borrow_mut(&mut self) -> &mut BigNumContextRef
fn borrow_mut(&mut self) -> &mut BigNumContextRef
Mutably borrows from an owned value. Read more
source§impl ForeignTypeRef for BigNumContextRef
impl ForeignTypeRef for BigNumContextRef
§type CType = bignum_ctx
type CType = bignum_ctx
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
source§unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type. Read more
impl Send for BigNumContextRef
impl Sync for BigNumContextRef
Auto Trait Implementations§
impl !RefUnwindSafe for BigNumContextRef
impl Unpin for BigNumContextRef
impl UnwindSafe for BigNumContextRef
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