Struct style::properties::style_structs::Effects [] [src]

pub struct Effects {
    pub opacity: T,
    pub box_shadow: T,
    pub clip: T,
    pub filter: T,
    pub mix_blend_mode: T,
}

The Effects style struct.

Fields

The opacity computed value.

The box-shadow computed value.

The clip computed value.

The filter computed value.

The mix-blend-mode computed value.

Methods

impl Effects
[src]

[src]

Set opacity.

[src]

Set opacity from other struct.

[src]

Reset opacity from the initial struct.

[src]

Get the computed value for opacity.

[src]

Set box-shadow.

[src]

Set box-shadow from other struct.

[src]

Reset box-shadow from the initial struct.

[src]

Get the computed value for box-shadow.

[src]

Set clip.

[src]

Set clip from other struct.

[src]

Reset clip from the initial struct.

[src]

Get the computed value for clip.

[src]

Set filter.

[src]

Set filter from other struct.

[src]

Reset filter from the initial struct.

[src]

Get the computed value for filter.

[src]

Set mix-blend-mode.

[src]

Set mix-blend-mode from other struct.

[src]

Reset mix-blend-mode from the initial struct.

[src]

Get the computed value for mix-blend-mode.

Trait Implementations

impl Clone for Effects
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Effects
[src]

[src]

Formats the value using the given formatter. Read more

impl MallocSizeOf for Effects
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for Effects
[src]

[src]

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

[src]

This method tests for !=.