Expand description
A collection of strings to affix to a decimal number.
Fields
prefix: Cow<'data, str>
String to prepend before the decimal number.
suffix: Cow<'data, str>
String to append after the decimal number.
Trait Implementations
sourceimpl<'de, 'data> Deserialize<'de> for AffixesV1<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for AffixesV1<'data>where
'de: 'data,
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<AffixesV1<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AffixesV1<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'data> PartialEq<AffixesV1<'data>> for AffixesV1<'data>
impl<'data> PartialEq<AffixesV1<'data>> for AffixesV1<'data>
sourceimpl<'a> Yokeable<'a> for AffixesV1<'static>
impl<'a> Yokeable<'a> for AffixesV1<'static>
sourcefn transform_owned(self) -> <AffixesV1<'static> as Yokeable<'a>>::Output
fn transform_owned(self) -> <AffixesV1<'static> as Yokeable<'a>>::Output
sourceunsafe fn make(
this: <AffixesV1<'static> as Yokeable<'a>>::Output
) -> AffixesV1<'static>
unsafe fn make(
this: <AffixesV1<'static> as Yokeable<'a>>::Output
) -> AffixesV1<'static>
This method can be used to cast away
Self<'a>
’s lifetime. Read moresourcefn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <AffixesV1<'static> as Yokeable<'a>>::Output),
fn transform_mut<F>(&'a mut self, f: F)where
F: 'static + for<'b> FnOnce(&'b mut <AffixesV1<'static> as Yokeable<'a>>::Output),
This method must cast
self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read moreimpl<'a> IsCovariant<'a> for AffixesV1<'a>
impl<'data> StructuralPartialEq for AffixesV1<'data>
Auto Trait Implementations
impl<'data> RefUnwindSafe for AffixesV1<'data>
impl<'data> Send for AffixesV1<'data>
impl<'data> Sync for AffixesV1<'data>
impl<'data> Unpin for AffixesV1<'data>
impl<'data> UnwindSafe for AffixesV1<'data>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more