Struct tailwind_css::TailwindObjectPosition
source · [−]pub struct TailwindObjectPosition { /* private fields */ }
Expand description
Utilities for controlling how a replaced element’s content should be positioned within its container.
Implementations
sourceimpl TailwindObjectPosition
impl TailwindObjectPosition
sourcepub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
Trait Implementations
sourceimpl Clone for TailwindObjectPosition
impl Clone for TailwindObjectPosition
sourcefn clone(&self) -> TailwindObjectPosition
fn clone(&self) -> TailwindObjectPosition
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 TailwindObjectPosition
impl Debug for TailwindObjectPosition
sourceimpl Display for TailwindObjectPosition
impl Display for TailwindObjectPosition
sourceimpl TailwindInstance for TailwindObjectPosition
impl TailwindInstance for TailwindObjectPosition
sourcefn attributes(&self, _: &TailwindBuilder) -> CssAttributes
fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
Attributes in css
sourcefn inlineable(&self) -> bool
fn inlineable(&self) -> bool
used to deduplication and marking
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
sourcefn additional(&self, ctx: &TailwindBuilder) -> String
fn additional(&self, ctx: &TailwindBuilder) -> String
Additional css in bundle
Auto Trait Implementations
impl RefUnwindSafe for TailwindObjectPosition
impl Send for TailwindObjectPosition
impl Sync for TailwindObjectPosition
impl Unpin for TailwindObjectPosition
impl UnwindSafe for TailwindObjectPosition
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