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