Struct spreadsheet_ods::format::PartAmPmBuilder
source · pub struct PartAmPmBuilder<'vf, T: ValueFormatTrait> { /* private fields */ }Expand description
Adds a format part to this format.
The number:am-pm element specifies whether AM/PM is included as part of a date or time. If a number:am-pm element is contained in a date or time style, hours are displayed using values from 1 to 12 only.
Can be used with ValueTypes:
- DateTime
- TimeDuration
Implementations§
source§impl<'vf, T: ValueFormatTrait> PartAmPmBuilder<'vf, T>
impl<'vf, T: ValueFormatTrait> PartAmPmBuilder<'vf, T>
Trait Implementations§
Auto Trait Implementations§
impl<'vf, T> RefUnwindSafe for PartAmPmBuilder<'vf, T>where
T: RefUnwindSafe,
impl<'vf, T> Send for PartAmPmBuilder<'vf, T>where
T: Send,
impl<'vf, T> Sync for PartAmPmBuilder<'vf, T>where
T: Sync,
impl<'vf, T> Unpin for PartAmPmBuilder<'vf, T>
impl<'vf, T> !UnwindSafe for PartAmPmBuilder<'vf, T>
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