pub struct AdaptiveBreakpoints {
pub medium: f32,
pub expanded: f32,
}Expand description
Width thresholds used by adaptive widgets.
Classification uses the widget’s own incoming constraints, not a global window width, so adaptive views also work correctly inside split panes and embedded surfaces.
Fields§
§medium: f32§expanded: f32Implementations§
Trait Implementations§
Source§impl Clone for AdaptiveBreakpoints
impl Clone for AdaptiveBreakpoints
impl Copy for AdaptiveBreakpoints
Source§impl Debug for AdaptiveBreakpoints
impl Debug for AdaptiveBreakpoints
Source§impl Default for AdaptiveBreakpoints
impl Default for AdaptiveBreakpoints
Source§impl From<ThemeBreakpoints> for AdaptiveBreakpoints
impl From<ThemeBreakpoints> for AdaptiveBreakpoints
Source§fn from(value: ThemeBreakpoints) -> Self
fn from(value: ThemeBreakpoints) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AdaptiveBreakpoints
impl PartialEq for AdaptiveBreakpoints
impl StructuralPartialEq for AdaptiveBreakpoints
Auto Trait Implementations§
impl Forget for AdaptiveBreakpoints
impl Freeze for AdaptiveBreakpoints
impl Move for AdaptiveBreakpoints
impl RefUnwindSafe for AdaptiveBreakpoints
impl Send for AdaptiveBreakpoints
impl Sync for AdaptiveBreakpoints
impl Unpin for AdaptiveBreakpoints
impl UnsafeUnpin for AdaptiveBreakpoints
impl UnwindSafe for AdaptiveBreakpoints
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