pub struct AttributeJs(/* private fields */);Implementations§
Source§impl AttributeJs
impl AttributeJs
pub fn vao_ids(&self) -> StringArray
pub fn buffer_id(&self) -> String
pub fn webgl_buffer(&self) -> WebGlBuffer
pub fn attribute_location(&self) -> AttributeLocation
Methods from Deref<Target = AttributeJsInner>§
pub fn vao_ids(&self) -> &[VertexArrayObjectId]
pub fn buffer_id(&self) -> &BufferId
pub fn webgl_buffer(&self) -> &WebGlBuffer
pub fn attribute_location(&self) -> &AttributeLocation
Trait Implementations§
Source§impl Deref for AttributeJs
impl Deref for AttributeJs
Source§impl DerefMut for AttributeJs
impl DerefMut for AttributeJs
Source§fn deref_mut(&mut self) -> &mut AttributeJsInner
fn deref_mut(&mut self) -> &mut AttributeJsInner
Mutably dereferences the value.
Source§impl From<&Attribute<String, String, String>> for AttributeJs
impl From<&Attribute<String, String, String>> for AttributeJs
Source§fn from(js_attribute_inner: &AttributeJsInner) -> Self
fn from(js_attribute_inner: &AttributeJsInner) -> Self
Converts to this type from the input type.
Source§impl From<Attribute<String, String, String>> for AttributeJs
impl From<Attribute<String, String, String>> for AttributeJs
Source§fn from(js_attribute_inner: AttributeJsInner) -> Self
fn from(js_attribute_inner: AttributeJsInner) -> Self
Converts to this type from the input type.
Source§impl From<AttributeJs> for JsValue
impl From<AttributeJs> for JsValue
Source§fn from(value: AttributeJs) -> Self
fn from(value: AttributeJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AttributeJs
impl FromWasmAbi for AttributeJs
Source§impl IntoWasmAbi for AttributeJs
impl IntoWasmAbi for AttributeJs
Source§impl LongRefFromWasmAbi for AttributeJs
impl LongRefFromWasmAbi for AttributeJs
Source§impl OptionFromWasmAbi for AttributeJs
impl OptionFromWasmAbi for AttributeJs
Source§impl OptionIntoWasmAbi for AttributeJs
impl OptionIntoWasmAbi for AttributeJs
Source§impl RefFromWasmAbi for AttributeJs
impl RefFromWasmAbi for AttributeJs
Source§type Anchor = RcRef<AttributeJs>
type Anchor = RcRef<AttributeJs>
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 RefMutFromWasmAbi for AttributeJs
impl RefMutFromWasmAbi for AttributeJs
Source§impl TryFromJsValue for AttributeJs
impl TryFromJsValue for AttributeJs
Source§impl VectorFromWasmAbi for AttributeJs
impl VectorFromWasmAbi for AttributeJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AttributeJs]>
Source§impl VectorIntoWasmAbi for AttributeJs
impl VectorIntoWasmAbi for AttributeJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AttributeJs]>) -> Self::Abi
Source§impl WasmDescribeVector for AttributeJs
impl WasmDescribeVector for AttributeJs
impl SupportsConstructor for AttributeJs
impl SupportsInstanceProperty for AttributeJs
impl SupportsStaticProperty for AttributeJs
Auto Trait Implementations§
impl Freeze for AttributeJs
impl RefUnwindSafe for AttributeJs
impl !Send for AttributeJs
impl !Sync for AttributeJs
impl Unpin for AttributeJs
impl UnwindSafe for AttributeJs
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.