pub struct WindowFrameStyle {Show 15 fields
pub style: Style,
pub top: Option<Style>,
pub focus: Option<Style>,
pub block: Option<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 can_min: Option<bool>,
pub can_max: Option<bool>,
pub non_exhaustive: NonExhaustive,
}Fields§
§style: Style§top: Option<Style>§focus: Option<Style>§block: Option<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>§can_min: Option<bool>§can_max: Option<bool>§non_exhaustive: NonExhaustiveTrait 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