pub struct TextureJs(/* private fields */);Implementations§
Source§impl TextureJs
impl TextureJs
pub fn texture_id(&self) -> String
pub fn webgl_texture(&self) -> WebGlTexture
Methods from Deref<Target = TextureJsInner>§
pub fn texture_id(&self) -> &TextureId
pub fn webgl_texture(&self) -> &WebGlTexture
Trait Implementations§
Source§impl DerefMut for TextureJs
impl DerefMut for TextureJs
Source§fn deref_mut(&mut self) -> &mut TextureJsInner
fn deref_mut(&mut self) -> &mut TextureJsInner
Mutably dereferences the value.
Source§impl From<&Texture<String>> for TextureJs
impl From<&Texture<String>> for TextureJs
Source§fn from(js_texture_inner: &TextureJsInner) -> Self
fn from(js_texture_inner: &TextureJsInner) -> Self
Converts to this type from the input type.
Source§impl From<Texture<String>> for TextureJs
impl From<Texture<String>> for TextureJs
Source§fn from(js_texture_inner: TextureJsInner) -> Self
fn from(js_texture_inner: TextureJsInner) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TextureJs
impl FromWasmAbi for TextureJs
Source§impl IntoWasmAbi for TextureJs
impl IntoWasmAbi for TextureJs
Source§impl LongRefFromWasmAbi for TextureJs
impl LongRefFromWasmAbi for TextureJs
Source§impl OptionFromWasmAbi for TextureJs
impl OptionFromWasmAbi for TextureJs
Source§impl OptionIntoWasmAbi for TextureJs
impl OptionIntoWasmAbi for TextureJs
Source§impl RefFromWasmAbi for TextureJs
impl RefFromWasmAbi for TextureJs
Source§impl RefMutFromWasmAbi for TextureJs
impl RefMutFromWasmAbi for TextureJs
Source§impl TryFromJsValue for TextureJs
impl TryFromJsValue for TextureJs
Source§impl VectorFromWasmAbi for TextureJs
impl VectorFromWasmAbi for TextureJs
Source§impl VectorIntoWasmAbi for TextureJs
impl VectorIntoWasmAbi for TextureJs
impl SupportsConstructor for TextureJs
impl SupportsInstanceProperty for TextureJs
impl SupportsStaticProperty for TextureJs
Auto Trait Implementations§
impl Freeze for TextureJs
impl RefUnwindSafe for TextureJs
impl !Send for TextureJs
impl !Sync for TextureJs
impl Unpin for TextureJs
impl UnwindSafe for TextureJs
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.