[−][src]Trait stdweb::web::RenderingContext
Trait implemented by rendering contexts which can be obtained from a canvas.
Associated Types
type Error
Type of error which can occur whilst creating this context
Required methods
fn from_canvas(canvas: &CanvasElement) -> Result<Self, Self::Error> where
Self: Sized,
Self: Sized,
Name which identifies this kind of rendering context.