pub struct FloatProps {
pub direction: FloatDirection,
pub breakpoint: Option<Breakpoint>,
pub children: Children,
pub class: Option<AttrValue>,
pub tag: AttrValue,
}Expand description
Props for the Float component
Fields§
§direction: FloatDirectionThe float direction to apply
breakpoint: Option<Breakpoint>Optional breakpoint for responsive float
children: ChildrenThe child elements to be floated
class: Option<AttrValue>Additional CSS classes to apply
tag: AttrValueThe HTML element to use (defaults to div)
Trait Implementations§
Source§impl PartialEq for FloatProps
impl PartialEq for FloatProps
Source§impl Properties for FloatProps
impl Properties for FloatProps
impl StructuralPartialEq for FloatProps
Auto Trait Implementations§
impl Freeze for FloatProps
impl !RefUnwindSafe for FloatProps
impl !Send for FloatProps
impl !Sync for FloatProps
impl Unpin for FloatProps
impl !UnwindSafe for FloatProps
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.