Enum style::stylesheets::viewport_rule::ViewportDescriptor
[−]
[src]
pub enum ViewportDescriptor { MinWidth(ViewportLength), MaxWidth(ViewportLength), MinHeight(ViewportLength), MaxHeight(ViewportLength), Zoom(Zoom), MinZoom(Zoom), MaxZoom(Zoom), UserZoom(UserZoom), Orientation(Orientation), }
Variants
MinWidth(ViewportLength)
MaxWidth(ViewportLength)
MinHeight(ViewportLength)
MaxHeight(ViewportLength)
Zoom(Zoom)
MinZoom(Zoom)
MaxZoom(Zoom)
UserZoom(UserZoom)
Orientation(Orientation)
Methods
impl ViewportDescriptor
[src]
pub fn discriminant_value(&self) -> usize
[src]
Trait Implementations
impl Clone for ViewportDescriptor
[src]
fn clone(&self) -> ViewportDescriptor
[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 Debug for ViewportDescriptor
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ViewportDescriptor
[src]
fn eq(&self, __arg_0: &ViewportDescriptor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ViewportDescriptor) -> bool
[src]
This method tests for !=
.
impl MallocSizeOf for ViewportDescriptor
[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