pub enum FormatArgumentValue {
Int(i32),
UInt(u32),
Float(OrderedFloat<f32>),
Double(OrderedFloat<f64>),
Text(FText),
Int64(i64),
UInt64(u64),
}Expand description
Format argument value
Variants§
Int(i32)
Integer
UInt(u32)
Unsigned integer
Float(OrderedFloat<f32>)
Float
Double(OrderedFloat<f64>)
Double
Text(FText)
FText
Int64(i64)
64-bit integer
UInt64(u64)
64-bit unsigned integer
Implementations§
Source§impl FormatArgumentValue
impl FormatArgumentValue
Sourcepub fn write<W: Write>(
&self,
cursor: &mut W,
options: &PropertyOptions<'_>,
) -> Result<usize, Error>
pub fn write<W: Write>( &self, cursor: &mut W, options: &PropertyOptions<'_>, ) -> Result<usize, Error>
Write FormatArgumentValue to a cursor
Trait Implementations§
Source§impl Clone for FormatArgumentValue
impl Clone for FormatArgumentValue
Source§fn clone(&self) -> FormatArgumentValue
fn clone(&self) -> FormatArgumentValue
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 FormatArgumentValue
impl Debug for FormatArgumentValue
Source§impl Hash for FormatArgumentValue
impl Hash for FormatArgumentValue
Source§impl PartialEq for FormatArgumentValue
impl PartialEq for FormatArgumentValue
impl Eq for FormatArgumentValue
impl StructuralPartialEq for FormatArgumentValue
Auto Trait Implementations§
impl Freeze for FormatArgumentValue
impl RefUnwindSafe for FormatArgumentValue
impl Send for FormatArgumentValue
impl Sync for FormatArgumentValue
impl Unpin for FormatArgumentValue
impl UnwindSafe for FormatArgumentValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.