Struct style::values::computed::font::FontLanguageOverride
[−]
[src]
pub struct FontLanguageOverride(pub u32);
font-language-override can only have a single three-letter OpenType "language system" tag, so we should be able to compute it and store it as a 32-bit integer (see http://www.microsoft.com/typography/otspec/languagetags.htm).
Methods
impl FontLanguageOverride
[src]
pub fn zero() -> FontLanguageOverride
[src]
Get computed default value of font-language-override
with 0
Trait Implementations
impl Clone for FontLanguageOverride
[src]
fn clone(&self) -> FontLanguageOverride
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for FontLanguageOverride
[src]
impl Debug for FontLanguageOverride
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for FontLanguageOverride
[src]
impl MallocSizeOf for FontLanguageOverride
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[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 FontLanguageOverride
[src]
fn eq(&self, __arg_0: &FontLanguageOverride) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontLanguageOverride) -> bool
[src]
This method tests for !=
.