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

pub struct Counters {
    pub content: T,
    pub counter_increment: T,
    pub counter_reset: T,
}

The Counters style struct.

Fields

The content computed value.

The counter-increment computed value.

The counter-reset computed value.

Methods

impl Counters
[src]

[src]

Set content.

[src]

Set content from other struct.

[src]

Reset content from the initial struct.

[src]

Get the computed value for content.

[src]

Set counter-increment.

[src]

Set counter-increment from other struct.

[src]

Reset counter-increment from the initial struct.

[src]

Get the computed value for counter-increment.

[src]

Set counter-reset.

[src]

Set counter-reset from other struct.

[src]

Reset counter-reset from the initial struct.

[src]

Get the computed value for counter-reset.

Trait Implementations

impl Clone for Counters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Counters
[src]

[src]

Formats the value using the given formatter. Read more

impl MallocSizeOf for Counters
[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 Counters
[src]

[src]

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

[src]

This method tests for !=.