Struct style::values::specified::time::Time [] [src]

pub struct Time { /* fields omitted */ }

A time value according to CSS-VALUES § 6.2.

Methods

impl Time
[src]

[src]

Returns a time value that represents seconds seconds.

[src]

Returns 0s.

[src]

Returns the time in fractional seconds.

[src]

Parses a time according to CSS-VALUES § 6.2.

[src]

Returns a Time value from a CSS calc() expression.

[src]

Parses a non-negative time value.

Trait Implementations

impl Clone for Time
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Time
[src]

impl Debug for Time
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

impl ToComputedValue for Time
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more

impl Parse for Time
[src]

[src]

Parse a value of this type. Read more

impl ToCss for Time
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more