pub struct FramebufferJs(/* private fields */);Implementations§
Source§impl FramebufferJs
impl FramebufferJs
pub fn framebuffer_id(&self) -> String
pub fn webgl_framebuffer(&self) -> WebGlFramebuffer
Methods from Deref<Target = FramebufferJsInner>§
pub fn framebuffer_id(&self) -> &FramebufferId
pub fn webgl_framebuffer(&self) -> &WebGlFramebuffer
Trait Implementations§
Source§impl Deref for FramebufferJs
impl Deref for FramebufferJs
Source§impl DerefMut for FramebufferJs
impl DerefMut for FramebufferJs
Source§fn deref_mut(&mut self) -> &mut FramebufferJsInner
fn deref_mut(&mut self) -> &mut FramebufferJsInner
Mutably dereferences the value.
Source§impl From<&Framebuffer<String>> for FramebufferJs
impl From<&Framebuffer<String>> for FramebufferJs
Source§fn from(js_framebuffer_inner: &FramebufferJsInner) -> Self
fn from(js_framebuffer_inner: &FramebufferJsInner) -> Self
Converts to this type from the input type.
Source§impl From<Framebuffer<String>> for FramebufferJs
impl From<Framebuffer<String>> for FramebufferJs
Source§fn from(js_framebuffer_inner: FramebufferJsInner) -> Self
fn from(js_framebuffer_inner: FramebufferJsInner) -> Self
Converts to this type from the input type.
Source§impl From<FramebufferJs> for JsValue
impl From<FramebufferJs> for JsValue
Source§fn from(value: FramebufferJs) -> Self
fn from(value: FramebufferJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FramebufferJs
impl FromWasmAbi for FramebufferJs
Source§impl IntoWasmAbi for FramebufferJs
impl IntoWasmAbi for FramebufferJs
Source§impl LongRefFromWasmAbi for FramebufferJs
impl LongRefFromWasmAbi for FramebufferJs
Source§impl OptionFromWasmAbi for FramebufferJs
impl OptionFromWasmAbi for FramebufferJs
Source§impl OptionIntoWasmAbi for FramebufferJs
impl OptionIntoWasmAbi for FramebufferJs
Source§impl RefFromWasmAbi for FramebufferJs
impl RefFromWasmAbi for FramebufferJs
Source§type Anchor = RcRef<FramebufferJs>
type Anchor = RcRef<FramebufferJs>
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 FramebufferJs
impl RefMutFromWasmAbi for FramebufferJs
Source§impl TryFromJsValue for FramebufferJs
impl TryFromJsValue for FramebufferJs
Source§impl VectorFromWasmAbi for FramebufferJs
impl VectorFromWasmAbi for FramebufferJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FramebufferJs]>
Source§impl VectorIntoWasmAbi for FramebufferJs
impl VectorIntoWasmAbi for FramebufferJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FramebufferJs]>) -> Self::Abi
Source§impl WasmDescribeVector for FramebufferJs
impl WasmDescribeVector for FramebufferJs
impl SupportsConstructor for FramebufferJs
impl SupportsInstanceProperty for FramebufferJs
impl SupportsStaticProperty for FramebufferJs
Auto Trait Implementations§
impl Freeze for FramebufferJs
impl RefUnwindSafe for FramebufferJs
impl !Send for FramebufferJs
impl !Sync for FramebufferJs
impl Unpin for FramebufferJs
impl UnwindSafe for FramebufferJs
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.