Struct stdweb::web::CanvasPattern
[−]
[src]
pub struct CanvasPattern(_);
The CanvasPattern struct represents an opaque object describing a pattern, based on an image, a canvas or a video, created by the CanvasRenderingContext2D.createPattern() method. Intentionally blank, no non-experimental properties or methods.
Trait Implementations
impl Clone for CanvasPattern
[src]
fn clone(&self) -> CanvasPattern
[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 CanvasPattern
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for CanvasPattern
[src]
impl PartialEq for CanvasPattern
[src]
fn eq(&self, __arg_0: &CanvasPattern) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CanvasPattern) -> bool
[src]
This method tests for !=
.
impl InstanceOf for CanvasPattern
[src]
fn instance_of(reference: &Reference) -> bool
[src]
Checks whenever a given Reference if of type Self
.
impl AsRef<Reference> for CanvasPattern
[src]
impl ReferenceType for CanvasPattern
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more
impl From<CanvasPattern> for Reference
[src]
fn from(value: CanvasPattern) -> Self
[src]
Performs the conversion.
impl TryFrom<CanvasPattern> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: CanvasPattern) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl TryFrom<Reference> for CanvasPattern
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Reference> for CanvasPattern
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl TryFrom<Value> for CanvasPattern
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Value> for CanvasPattern
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
Performs the conversion.