Struct tailwind_css::TailwindContainer
source · [−]pub struct TailwindContainer {}
Expand description
A component for fixing an element’s width to the current breakpoint.
Reference
Trait Implementations
sourceimpl Clone for TailwindContainer
impl Clone for TailwindContainer
sourcefn clone(&self) -> TailwindContainer
fn clone(&self) -> TailwindContainer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TailwindContainer
impl Debug for TailwindContainer
sourceimpl Default for TailwindContainer
impl Default for TailwindContainer
sourcefn default() -> TailwindContainer
fn default() -> TailwindContainer
Returns the “default value” for a type. Read more
sourceimpl Display for TailwindContainer
impl Display for TailwindContainer
sourceimpl TailwindInstance for TailwindContainer
impl TailwindInstance for TailwindContainer
.container {
sourcefn inlineable(&self) -> bool
fn inlineable(&self) -> bool
used to deduplication and marking
sourcefn attributes(&self, _: &TailwindBuilder) -> CssAttributes
fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
Attributes in css
sourcefn additional(&self, _: &TailwindBuilder) -> String
fn additional(&self, _: &TailwindBuilder) -> String
Additional css in bundle
sourcefn boxed(self) -> Box<dyn TailwindInstance>where
Self: Sized,
Self: 'static,
fn boxed(self) -> Box<dyn TailwindInstance>where
Self: Sized,
Self: 'static,
New tailwind instance
sourcefn selectors(&self, ctx: &TailwindBuilder) -> String
fn selectors(&self, ctx: &TailwindBuilder) -> String
Custom selector name
impl Copy for TailwindContainer
Auto Trait Implementations
impl RefUnwindSafe for TailwindContainer
impl Send for TailwindContainer
impl Sync for TailwindContainer
impl Unpin for TailwindContainer
impl UnwindSafe for TailwindContainer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more