Struct ftd::Common[][src]

pub struct Common {
Show 71 fields pub conditional_attribute: BTreeMap<String, ConditionalAttribute>, pub locals: Map, pub condition: Option<Condition>, pub is_not_visible: bool, pub events: Vec<Event>, pub reference: Option<String>, pub region: Option<Region>, pub padding: Option<i64>, pub padding_vertical: Option<i64>, pub padding_horizontal: Option<i64>, pub padding_left: Option<i64>, pub padding_right: Option<i64>, pub padding_top: Option<i64>, pub padding_bottom: Option<i64>, pub border_top_radius: Option<i64>, pub border_bottom_radius: Option<i64>, pub border_left_radius: Option<i64>, pub border_right_radius: Option<i64>, pub width: Option<Length>, pub max_width: Option<Length>, pub min_width: Option<Length>, pub height: Option<Length>, pub min_height: Option<Length>, pub max_height: Option<Length>, pub color: Option<Color>, pub background_color: Option<Color>, pub border_color: Option<Color>, pub border_width: i64, pub border_radius: i64, pub id: Option<String>, pub data_id: Option<String>, pub overflow_x: Option<Overflow>, pub overflow_y: Option<Overflow>, pub border_top: Option<i64>, pub border_left: Option<i64>, pub border_right: Option<i64>, pub border_bottom: Option<i64>, pub margin_top: Option<i64>, pub margin_left: Option<i64>, pub margin_right: Option<i64>, pub margin_bottom: Option<i64>, pub link: Option<String>, pub open_in_new_tab: bool, pub sticky: bool, pub top: Option<i64>, pub bottom: Option<i64>, pub left: Option<i64>, pub right: Option<i64>, pub submit: Option<String>, pub cursor: Option<String>, pub shadow_offset_x: Option<i64>, pub shadow_offset_y: Option<i64>, pub shadow_size: Option<i64>, pub shadow_blur: Option<i64>, pub shadow_color: Option<Color>, pub anchor: Option<Anchor>, pub gradient_direction: Option<GradientDirection>, pub gradient_colors: Vec<Color>, pub background_image: Option<String>, pub background_repeat: bool, pub background_parallax: bool, pub scale: Option<f64>, pub scale_x: Option<f64>, pub scale_y: Option<f64>, pub rotate: Option<i64>, pub move_up: Option<i64>, pub move_down: Option<i64>, pub move_left: Option<i64>, pub move_right: Option<i64>, pub position: Position, pub inner: bool,
}

Fields

conditional_attribute: BTreeMap<String, ConditionalAttribute>locals: Mapcondition: Option<Condition>is_not_visible: boolevents: Vec<Event>reference: Option<String>region: Option<Region>padding: Option<i64>padding_vertical: Option<i64>padding_horizontal: Option<i64>padding_left: Option<i64>padding_right: Option<i64>padding_top: Option<i64>padding_bottom: Option<i64>border_top_radius: Option<i64>border_bottom_radius: Option<i64>border_left_radius: Option<i64>border_right_radius: Option<i64>width: Option<Length>max_width: Option<Length>min_width: Option<Length>height: Option<Length>min_height: Option<Length>max_height: Option<Length>color: Option<Color>background_color: Option<Color>border_color: Option<Color>border_width: i64border_radius: i64id: Option<String>data_id: Option<String>overflow_x: Option<Overflow>overflow_y: Option<Overflow>border_top: Option<i64>border_left: Option<i64>border_right: Option<i64>border_bottom: Option<i64>margin_top: Option<i64>margin_left: Option<i64>margin_right: Option<i64>margin_bottom: Option<i64>link: Option<String>open_in_new_tab: boolsticky: booltop: Option<i64>bottom: Option<i64>left: Option<i64>right: Option<i64>submit: Option<String>cursor: Option<String>shadow_offset_x: Option<i64>shadow_offset_y: Option<i64>shadow_size: Option<i64>shadow_blur: Option<i64>shadow_color: Option<Color>anchor: Option<Anchor>gradient_direction: Option<GradientDirection>gradient_colors: Vec<Color>background_image: Option<String>background_repeat: boolbackground_parallax: boolscale: Option<f64>scale_x: Option<f64>scale_y: Option<f64>rotate: Option<i64>move_up: Option<i64>move_down: Option<i64>move_left: Option<i64>move_right: Option<i64>position: Positioninner: bool

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

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.