pub struct MacFrameStyle {Show 13 fields
pub style: Style,
pub top: Option<Style>,
pub focus: Option<Style>,
pub block: Block<'static>,
pub hover: Option<Style>,
pub drag: Option<Style>,
pub close: Option<Style>,
pub min: Option<Style>,
pub max: Option<Style>,
pub can_move: Option<bool>,
pub can_resize: Option<bool>,
pub can_close: Option<bool>,
pub non_exhaustive: NonExhaustive,
}
Fields§
§style: Style
§top: Option<Style>
§focus: Option<Style>
§block: Block<'static>
§hover: Option<Style>
§drag: Option<Style>
§close: Option<Style>
§min: Option<Style>
§max: Option<Style>
§can_move: Option<bool>
§can_resize: Option<bool>
§can_close: Option<bool>
§non_exhaustive: NonExhaustive
Trait Implementations§
Source§impl Debug for MacFrameStyle
impl Debug for MacFrameStyle
Auto Trait Implementations§
impl Freeze for MacFrameStyle
impl RefUnwindSafe for MacFrameStyle
impl Send for MacFrameStyle
impl Sync for MacFrameStyle
impl Unpin for MacFrameStyle
impl UnwindSafe for MacFrameStyle
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