[−][src]Struct yamlette::model::yaml::timestamp::TimestampValue
Fields
year: Option<i32>
month: Option<u8>
day: Option<u8>
hour: Option<u8>
minute: Option<u8>
second: Option<u8>
fraction: Option<FloatValue>
tz_hour: Option<i8>
tz_minute: Option<u8>
Methods
impl TimestampValue
[src]
pub fn new() -> TimestampValue
[src]
pub fn set_tag(&mut self, tag: Cow<'static, str>)
[src]
pub fn set_anchor(&mut self, anchor: Cow<'static, str>)
[src]
pub fn init_common_styles(&mut self, common_styles: CommonStyles)
[src]
pub fn issue_tag(&self) -> bool
[src]
pub fn set_issue_tag(&mut self, val: bool)
[src]
pub fn year(self, val: i32) -> TimestampValue
[src]
pub fn month(self, val: u8) -> TimestampValue
[src]
pub fn day(self, val: u8) -> TimestampValue
[src]
pub fn hour(self, val: u8) -> TimestampValue
[src]
pub fn minute(self, val: u8) -> TimestampValue
[src]
pub fn second(self, val: u8) -> TimestampValue
[src]
pub fn fraction(self, val: FloatValue) -> TimestampValue
[src]
pub fn tz_hour(self, val: i8) -> TimestampValue
[src]
pub fn tz_minute(self, val: u8) -> TimestampValue
[src]
Trait Implementations
impl Tagged for TimestampValue
[src]
fn get_tag(&self) -> Cow<'static, str>
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_mut_any(&mut self) -> &mut dyn Any
[src]
impl Chord for TimestampValue
[src]
fn chord_size(&self) -> usize
[src]
fn play(
self,
orchestra: &Orchestra,
level: usize,
alias: Option<Cow<'static, str>>,
cs: CommonStyles,
vs: &mut [&mut dyn Style]
) -> Result<(), OrchError>
[src]
self,
orchestra: &Orchestra,
level: usize,
alias: Option<Cow<'static, str>>,
cs: CommonStyles,
vs: &mut [&mut dyn Style]
) -> Result<(), OrchError>
impl Clone for TimestampValue
[src]
fn clone(&self) -> TimestampValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<TimestampValue> for TaggedValue
[src]
fn from(value: TimestampValue) -> Self
[src]
impl Debug for TimestampValue
[src]
Auto Trait Implementations
impl Send for TimestampValue
impl Sync for TimestampValue
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,