pub enum Plugin {
Show 79 variants Position(Position), Visibility(Visibility), Display(Display), TextTransform(TextTransform), TextDecoration(TextDecoration), Border(Option<Border>), Rounded(Option<Rounded>), Min(Min), Max(Max), H, W, P, Px, Pl, Pr, Py, Pt, Pb, M, Mx, My, Ml, Mr, Mt, Mb, Z, Text, Bg, Font, Fill, Shadow, Transition, Placeholder, Inset(Option<Inset>), Delay, Duration, Divide(Option<Divide>), Rotate, Appearance, Truncate, Animate, Pointer, Ease, Order, Whitespace(Whitespace), From, To, Outline, Mix, Flex(Option<Flex>), Grid(Option<Grid>), Col, Grow, Shrink, Basis, Object(Object), Justify, Items, Leading, Gap(Option<Gap>), Cursor, Scale, Box, Select, Overflow, Top, Bottom, Left, Right, AlignSelf(AlignSelf), Translate, Tracking, Invert, Space, Transform, Opacity, Blur, Ring, Sr,
}

Variants

Position(Position)

Visibility(Visibility)

Display(Display)

TextTransform(TextTransform)

TextDecoration(TextDecoration)

Border(Option<Border>)

Rounded(Option<Rounded>)

Min(Min)

Max(Max)

H

W

P

Px

Pl

Pr

Py

Pt

Pb

M

Mx

My

Ml

Mr

Mt

Mb

Z

Text

Bg

Font

Fill

Shadow

Transition

Placeholder

Inset(Option<Inset>)

Delay

Duration

Divide(Option<Divide>)

Rotate

Appearance

Truncate

Animate

Pointer

Ease

Order

Whitespace(Whitespace)

From

To

Outline

Mix

Flex(Option<Flex>)

Grid(Option<Grid>)

Col

Grow

Shrink

Basis

Object(Object)

Justify

Items

Leading

Gap(Option<Gap>)

Cursor

Scale

Box

Select

Overflow

Top

Bottom

Left

Right

AlignSelf(AlignSelf)

Translate

Tracking

Invert

Space

Transform

Opacity

Blur

Ring

Sr

Implementations

At a hight level, this algorithm:

  1. attempts to parse a valid plugin from the input
  2. if it fails, checks to see if the input is a ‘rootless subcommand’ (ie, one where the command on its own is not valid)
  3. if there is a subcommand, it attempts to parse the subcommand
  4. if the subcommand fails to parse, it falls back to the first discovered error

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more