pub struct Breakpoints {
pub compact_max: f32,
pub medium_max: f32,
}Fields§
§compact_max: f32§medium_max: f32Implementations§
Source§impl Breakpoints
impl Breakpoints
pub const MATERIAL: Breakpoints
pub const fn new(compact_max: f32, medium_max: f32) -> Breakpoints
pub fn of(self, width: f32) -> Breakpoint
pub fn of_size(self, size: Size) -> Breakpoint
Trait Implementations§
Source§impl Clone for Breakpoints
impl Clone for Breakpoints
Source§fn clone(&self) -> Breakpoints
fn clone(&self) -> Breakpoints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Breakpoints
Source§impl Debug for Breakpoints
impl Debug for Breakpoints
Source§impl Default for Breakpoints
impl Default for Breakpoints
Source§fn default() -> Breakpoints
fn default() -> Breakpoints
Returns the “default value” for a type. Read more
Source§impl PartialEq for Breakpoints
impl PartialEq for Breakpoints
impl StructuralPartialEq for Breakpoints
Auto Trait Implementations§
impl Freeze for Breakpoints
impl RefUnwindSafe for Breakpoints
impl Send for Breakpoints
impl Sync for Breakpoints
impl Unpin for Breakpoints
impl UnsafeUnpin for Breakpoints
impl UnwindSafe for Breakpoints
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