pub struct AttributeCreateContextJs(/* private fields */);Implementations§
Source§impl AttributeCreateContextJs
impl AttributeCreateContextJs
pub fn gl(&self) -> WebGl2RenderingContext
pub fn now(&self) -> f64
pub fn webgl_buffer(&self) -> WebGlBuffer
pub fn attribute_location(&self) -> AttributeLocation
Source§impl AttributeCreateContextJs
impl AttributeCreateContextJs
pub fn into_inner(self) -> AttributeCreateContextJsInner
Methods from Deref<Target = AttributeCreateContextJsInner>§
pub fn gl(&self) -> &WebGl2RenderingContext
pub fn now(&self) -> f64
pub fn webgl_buffer(&self) -> &WebGlBuffer
pub fn attribute_location(&self) -> &AttributeLocation
Trait Implementations§
Source§impl Deref for AttributeCreateContextJs
impl Deref for AttributeCreateContextJs
Source§impl DerefMut for AttributeCreateContextJs
impl DerefMut for AttributeCreateContextJs
Source§fn deref_mut(&mut self) -> &mut AttributeCreateContextJsInner
fn deref_mut(&mut self) -> &mut AttributeCreateContextJsInner
Mutably dereferences the value.
Source§impl From<&AttributeCreateContext> for AttributeCreateContextJs
impl From<&AttributeCreateContext> for AttributeCreateContextJs
Source§fn from(attribute_create_context: &AttributeCreateContext) -> Self
fn from(attribute_create_context: &AttributeCreateContext) -> Self
Converts to this type from the input type.
Source§impl From<AttributeCreateContext> for AttributeCreateContextJs
impl From<AttributeCreateContext> for AttributeCreateContextJs
Source§fn from(attribute_create_context: AttributeCreateContext) -> Self
fn from(attribute_create_context: AttributeCreateContext) -> Self
Converts to this type from the input type.
Source§impl From<AttributeCreateContextJs> for JsValue
impl From<AttributeCreateContextJs> for JsValue
Source§fn from(value: AttributeCreateContextJs) -> Self
fn from(value: AttributeCreateContextJs) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for AttributeCreateContextJs
impl RefFromWasmAbi for AttributeCreateContextJs
Source§type Anchor = RcRef<AttributeCreateContextJs>
type Anchor = RcRef<AttributeCreateContextJs>
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 AttributeCreateContextJs
impl VectorFromWasmAbi for AttributeCreateContextJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AttributeCreateContextJs]>
Source§impl VectorIntoWasmAbi for AttributeCreateContextJs
impl VectorIntoWasmAbi for AttributeCreateContextJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AttributeCreateContextJs]>) -> Self::Abi
Source§impl WasmDescribeVector for AttributeCreateContextJs
impl WasmDescribeVector for AttributeCreateContextJs
impl SupportsConstructor for AttributeCreateContextJs
impl SupportsInstanceProperty for AttributeCreateContextJs
impl SupportsStaticProperty for AttributeCreateContextJs
Auto Trait Implementations§
impl Freeze for AttributeCreateContextJs
impl RefUnwindSafe for AttributeCreateContextJs
impl !Send for AttributeCreateContextJs
impl !Sync for AttributeCreateContextJs
impl Unpin for AttributeCreateContextJs
impl UnwindSafe for AttributeCreateContextJs
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.