pub struct TextureCreateContextJs(/* private fields */);Implementations§
Source§impl TextureCreateContextJs
impl TextureCreateContextJs
pub fn gl(&self) -> WebGl2RenderingContext
pub fn now(&self) -> f64
pub fn canvas(&self) -> HtmlCanvasElement
Source§impl TextureCreateContextJs
impl TextureCreateContextJs
pub fn into_inner(self) -> TextureCreateContextJsInner
Methods from Deref<Target = TextureCreateContextJsInner>§
pub fn gl(&self) -> &WebGl2RenderingContext
pub fn now(&self) -> f64
pub fn canvas(&self) -> &HtmlCanvasElement
Trait Implementations§
Source§impl Deref for TextureCreateContextJs
impl Deref for TextureCreateContextJs
Source§impl DerefMut for TextureCreateContextJs
impl DerefMut for TextureCreateContextJs
Source§fn deref_mut(&mut self) -> &mut TextureCreateContextJsInner
fn deref_mut(&mut self) -> &mut TextureCreateContextJsInner
Mutably dereferences the value.
Source§impl From<&TextureCreateContext> for TextureCreateContextJs
impl From<&TextureCreateContext> for TextureCreateContextJs
Source§fn from(attribute_create_context: &TextureCreateContext) -> Self
fn from(attribute_create_context: &TextureCreateContext) -> Self
Converts to this type from the input type.
Source§impl From<TextureCreateContext> for TextureCreateContextJs
impl From<TextureCreateContext> for TextureCreateContextJs
Source§fn from(attribute_create_context: TextureCreateContext) -> Self
fn from(attribute_create_context: TextureCreateContext) -> Self
Converts to this type from the input type.
Source§impl From<TextureCreateContextJs> for JsValue
impl From<TextureCreateContextJs> for JsValue
Source§fn from(value: TextureCreateContextJs) -> Self
fn from(value: TextureCreateContextJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TextureCreateContextJs
impl FromWasmAbi for TextureCreateContextJs
Source§impl IntoWasmAbi for TextureCreateContextJs
impl IntoWasmAbi for TextureCreateContextJs
Source§impl RefFromWasmAbi for TextureCreateContextJs
impl RefFromWasmAbi for TextureCreateContextJs
Source§type Anchor = RcRef<TextureCreateContextJs>
type Anchor = RcRef<TextureCreateContextJs>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for TextureCreateContextJs
impl VectorFromWasmAbi for TextureCreateContextJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TextureCreateContextJs]>
Source§impl VectorIntoWasmAbi for TextureCreateContextJs
impl VectorIntoWasmAbi for TextureCreateContextJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TextureCreateContextJs]>) -> Self::Abi
Source§impl WasmDescribeVector for TextureCreateContextJs
impl WasmDescribeVector for TextureCreateContextJs
impl SupportsConstructor for TextureCreateContextJs
impl SupportsInstanceProperty for TextureCreateContextJs
impl SupportsStaticProperty for TextureCreateContextJs
Auto Trait Implementations§
impl Freeze for TextureCreateContextJs
impl RefUnwindSafe for TextureCreateContextJs
impl !Send for TextureCreateContextJs
impl !Sync for TextureCreateContextJs
impl Unpin for TextureCreateContextJs
impl UnwindSafe for TextureCreateContextJs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.