pub struct ResponsiveFlex { /* private fields */ }Expand description
Specialized responsive flexbox system
Implementations§
Source§impl ResponsiveFlex
impl ResponsiveFlex
Sourcepub fn direction(self, breakpoint: Breakpoint, direction: FlexDirection) -> Self
pub fn direction(self, breakpoint: Breakpoint, direction: FlexDirection) -> Self
Set the flex direction for a breakpoint
Sourcepub fn wrap(self, breakpoint: Breakpoint, wrap: FlexWrap) -> Self
pub fn wrap(self, breakpoint: Breakpoint, wrap: FlexWrap) -> Self
Set the flex wrap for a breakpoint
Sourcepub fn justify(self, breakpoint: Breakpoint, justify: JustifyContent) -> Self
pub fn justify(self, breakpoint: Breakpoint, justify: JustifyContent) -> Self
Set the justify content for a breakpoint
Sourcepub fn align(self, breakpoint: Breakpoint, align: AlignItems) -> Self
pub fn align(self, breakpoint: Breakpoint, align: AlignItems) -> Self
Set the align items for a breakpoint
Sourcepub fn gap(self, breakpoint: Breakpoint, gap: &str) -> Self
pub fn gap(self, breakpoint: Breakpoint, gap: &str) -> Self
Set the gap for a breakpoint
Trait Implementations§
Source§impl Clone for ResponsiveFlex
impl Clone for ResponsiveFlex
Source§fn clone(&self) -> ResponsiveFlex
fn clone(&self) -> ResponsiveFlex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponsiveFlex
impl Debug for ResponsiveFlex
Auto Trait Implementations§
impl Freeze for ResponsiveFlex
impl RefUnwindSafe for ResponsiveFlex
impl Send for ResponsiveFlex
impl Sync for ResponsiveFlex
impl Unpin for ResponsiveFlex
impl UnwindSafe for ResponsiveFlex
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