Struct style::values::specified::length::CharacterWidth [] [src]

pub struct CharacterWidth(pub i32);

HTML5 "character width", as defined in HTML5 § 14.5.4.

Methods

impl CharacterWidth
[src]

[src]

Computes the given character width.

Trait Implementations

impl Clone for CharacterWidth
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CharacterWidth
[src]

impl Debug for CharacterWidth
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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