pub struct Bitstring<'id> { /* private fields */ }Expand description
Implementations§
Trait Implementations§
impl<'id> Copy for Bitstring<'id>
Source§impl<'id> Encoder<'id> for Bitstring<'id>
Encodes for free by rewrapping the term’s own machine word — an otter
term is already an Erlang term. Never fails.
impl<'id> Encoder<'id> for Bitstring<'id>
Encodes for free by rewrapping the term’s own machine word — an otter term is already an Erlang term. Never fails.
impl Eq for Bitstring<'_>
Source§impl Ord for Bitstring<'_>
impl Ord for Bitstring<'_>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Bitstring<'_>
impl PartialOrd for Bitstring<'_>
Source§impl<'id> Term<'id> for Bitstring<'id>
impl<'id> Term<'id> for Bitstring<'id>
Source§fn copy_to<'dst>(self, env: impl Env<'dst>) -> AnyTerm<'dst>where
Self: Sized,
fn copy_to<'dst>(self, env: impl Env<'dst>) -> AnyTerm<'dst>where
Self: Sized,
Copy this term into another environment (
enif_make_copy), producing a
term branded to the destination. The general cross-env copy — distinct
from same-brand Encoder (which wraps for free)
and from OwnedEnvArena copy_out (the arena exit).Auto Trait Implementations§
impl<'id> !Send for Bitstring<'id>
impl<'id> !Sync for Bitstring<'id>
impl<'id> Freeze for Bitstring<'id>
impl<'id> RefUnwindSafe for Bitstring<'id>
impl<'id> Unpin for Bitstring<'id>
impl<'id> UnsafeUnpin for Bitstring<'id>
impl<'id> UnwindSafe for Bitstring<'id>
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