Enum stdweb::web::CanvasStyle
[−]
[src]
pub enum CanvasStyle { String(String), CanvasGradient(CanvasGradient), CanvasPattern(CanvasPattern), }
Certain style functions can return multiple types
Variants
String(String)
String representing the style
CanvasGradient(CanvasGradient)
CanvasGradient representing the style
CanvasPattern(CanvasPattern)
CanvasPattern representing the style
Trait Implementations
impl Debug for CanvasStyle
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CanvasStyle
[src]
fn clone(&self) -> CanvasStyle
[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 PartialEq for CanvasStyle
[src]
fn eq(&self, __arg_0: &CanvasStyle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CanvasStyle) -> bool
[src]
This method tests for !=
.