pub enum YearProperties {
YEAR,
LEAP,
}
Variants§
Trait Implementations§
Source§impl AsRef<str> for YearProperties
impl AsRef<str> for YearProperties
Source§impl Display for YearProperties
impl Display for YearProperties
Source§impl<'_derivative_strum> From<&'_derivative_strum YearProperties> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum YearProperties> for &'static str
Source§fn from(x: &'_derivative_strum YearProperties) -> &'static str
fn from(x: &'_derivative_strum YearProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<YearProperties> for &'static str
impl From<YearProperties> for &'static str
Source§fn from(x: YearProperties) -> &'static str
fn from(x: YearProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<YearProperties> for String
impl From<YearProperties> for String
Source§fn from(p: YearProperties) -> Self
fn from(p: YearProperties) -> Self
Converts to this type from the input type.
Source§impl PropertyTypeDefinition for YearProperties
impl PropertyTypeDefinition for YearProperties
Source§fn property_name(&self) -> String
fn property_name(&self) -> String
The property name.
Source§fn default_value(&self) -> Value
fn default_value(&self) -> Value
The default value of the property.
Auto Trait Implementations§
impl Freeze for YearProperties
impl RefUnwindSafe for YearProperties
impl Send for YearProperties
impl Sync for YearProperties
impl Unpin for YearProperties
impl UnwindSafe for YearProperties
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more