pub struct IntBinding;Expand description
Binding for signed i32 (int) values.
Uses big-endian encoding with sign bit flipped for sortable ordering.
Implementations§
Source§impl IntBinding
impl IntBinding
Trait Implementations§
Source§impl Clone for IntBinding
impl Clone for IntBinding
Source§fn clone(&self) -> IntBinding
fn clone(&self) -> IntBinding
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 moreSource§impl Debug for IntBinding
impl Debug for IntBinding
Source§impl Default for IntBinding
impl Default for IntBinding
Source§fn default() -> IntBinding
fn default() -> IntBinding
Returns the “default value” for a type. Read more
Source§impl EntryBinding<i32> for IntBinding
impl EntryBinding<i32> for IntBinding
Source§fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<i32>
fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<i32>
Converts a
DatabaseEntry to an object. Read moreSource§fn object_to_entry(&self, object: &i32, entry: &mut DatabaseEntry) -> Result<()>
fn object_to_entry(&self, object: &i32, entry: &mut DatabaseEntry) -> Result<()>
Converts an object to a
DatabaseEntry. Read moreSource§impl TupleBinding<i32> for IntBinding
impl TupleBinding<i32> for IntBinding
Source§fn tuple_to_object(&self, input: &mut TupleInput) -> Result<i32>
fn tuple_to_object(&self, input: &mut TupleInput) -> Result<i32>
Converts tuple input to an object. Read more
Source§fn object_to_tuple(&self, object: &i32, output: &mut TupleOutput) -> Result<()>
fn object_to_tuple(&self, object: &i32, 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.impl Copy for IntBinding
Auto Trait Implementations§
impl Freeze for IntBinding
impl RefUnwindSafe for IntBinding
impl Send for IntBinding
impl Sync for IntBinding
impl Unpin for IntBinding
impl UnsafeUnpin for IntBinding
impl UnwindSafe for IntBinding
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