pub struct ComDecimal(pub DECIMAL);Expand description
Transparent wrapper around a [DECIMAL] value
Tuple Fields§
§0: DECIMALImplementations§
Source§impl ComDecimal
impl ComDecimal
pub fn as_mut_ptr(&mut self) -> *mut DECIMAL
Trait Implementations§
Source§impl Clone for ComDecimal
impl Clone for ComDecimal
Source§fn clone(&self) -> ComDecimal
fn clone(&self) -> ComDecimal
Returns a duplicate 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 ComDecimal
impl Debug for ComDecimal
Source§impl Display for ComDecimal
impl Display for ComDecimal
Source§impl From<&ComDecimal> for Decimal
impl From<&ComDecimal> for Decimal
Source§fn from(dec: &ComDecimal) -> Self
fn from(dec: &ComDecimal) -> Self
Converts to this type from the input type.
Source§impl From<&Decimal> for ComDecimal
impl From<&Decimal> for ComDecimal
Source§impl From<*mut DECIMAL> for &mut ComDecimal
impl From<*mut DECIMAL> for &mut ComDecimal
Source§impl From<ComDecimal> for Decimal
impl From<ComDecimal> for Decimal
Source§fn from(dec: ComDecimal) -> Self
fn from(dec: ComDecimal) -> Self
Converts to this type from the input type.
Source§impl From<Decimal> for ComDecimal
impl From<Decimal> for ComDecimal
Source§impl PartialEq for ComDecimal
impl PartialEq for ComDecimal
impl Copy for ComDecimal
impl Eq for ComDecimal
Auto Trait Implementations§
impl Freeze for ComDecimal
impl RefUnwindSafe for ComDecimal
impl Send for ComDecimal
impl Sync for ComDecimal
impl Unpin for ComDecimal
impl UnwindSafe for ComDecimal
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