pub struct LongBinding;Expand description
Binding for signed i64 (long) values.
Uses big-endian encoding with sign bit flipped for sortable ordering.
Implementations§
Source§impl LongBinding
impl LongBinding
Trait Implementations§
Source§impl Clone for LongBinding
impl Clone for LongBinding
Source§fn clone(&self) -> LongBinding
fn clone(&self) -> LongBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LongBinding
Source§impl Debug for LongBinding
impl Debug for LongBinding
Source§impl Default for LongBinding
impl Default for LongBinding
Source§fn default() -> LongBinding
fn default() -> LongBinding
Returns the “default value” for a type. Read more
Source§impl EntryBinding<i64> for LongBinding
impl EntryBinding<i64> for LongBinding
Source§fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<i64>
fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<i64>
Converts a
DatabaseEntry to an object. Read moreSource§fn object_to_entry(&self, object: &i64, entry: &mut DatabaseEntry) -> Result<()>
fn object_to_entry(&self, object: &i64, entry: &mut DatabaseEntry) -> Result<()>
Converts an object to a
DatabaseEntry. Read moreSource§impl TupleBinding<i64> for LongBinding
impl TupleBinding<i64> for LongBinding
Source§fn tuple_to_object(&self, input: &mut TupleInput) -> Result<i64>
fn tuple_to_object(&self, input: &mut TupleInput) -> Result<i64>
Converts tuple input to an object. Read more
Source§fn object_to_tuple(&self, object: &i64, output: &mut TupleOutput) -> Result<()>
fn object_to_tuple(&self, object: &i64, output: &mut TupleOutput) -> Result<()>
Converts an object to tuple output. Read more
Source§fn entry_to_input(entry: &DatabaseEntry) -> TupleInput
fn entry_to_input(entry: &DatabaseEntry) -> TupleInput
Creates a
TupleInput from a DatabaseEntry.Auto Trait Implementations§
impl Freeze for LongBinding
impl RefUnwindSafe for LongBinding
impl Send for LongBinding
impl Sync for LongBinding
impl Unpin for LongBinding
impl UnsafeUnpin for LongBinding
impl UnwindSafe for LongBinding
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