Struct icu_capi::week::ffi::WeekendContainsDay
source · #[repr(C)]pub struct WeekendContainsDay {
pub monday: bool,
pub tuesday: bool,
pub wednesday: bool,
pub thursday: bool,
pub friday: bool,
pub saturday: bool,
pub sunday: bool,
}
Expand description
Documents which days of the week are considered to be a part of the weekend
Fields§
§monday: bool
§tuesday: bool
§wednesday: bool
§thursday: bool
§friday: bool
§saturday: bool
§sunday: bool
Trait Implementations§
source§impl Default for WeekendContainsDay
impl Default for WeekendContainsDay
source§fn default() -> WeekendContainsDay
fn default() -> WeekendContainsDay
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WeekendContainsDay
impl RefUnwindSafe for WeekendContainsDay
impl Send for WeekendContainsDay
impl Sync for WeekendContainsDay
impl Unpin for WeekendContainsDay
impl UnwindSafe for WeekendContainsDay
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