pub struct ScaleTime { /* private fields */ }
Implementations§
§impl ScaleTime
impl ScaleTime
pub fn new() -> Self
pub fn get_display_formats(&mut self) -> &mut Option<DisplayFormats>
pub fn display_formats(self, value: impl Into<DisplayFormats>) -> ScaleTime
pub fn get_unit(&mut self) -> &mut String
pub fn unit(self, value: impl Into<String>) -> ScaleTime
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScaleTime
impl<'de> Deserialize<'de> for ScaleTime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ScaleTime
impl Ord for ScaleTime
Source§impl PartialOrd for ScaleTime
impl PartialOrd for ScaleTime
impl Eq for ScaleTime
impl StructuralPartialEq for ScaleTime
Auto Trait Implementations§
impl Freeze for ScaleTime
impl RefUnwindSafe for ScaleTime
impl Send for ScaleTime
impl Sync for ScaleTime
impl Unpin for ScaleTime
impl UnwindSafe for ScaleTime
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