pub struct FramebufferLinkJs(/* private fields */);Implementations§
Source§impl FramebufferLinkJs
impl FramebufferLinkJs
pub fn new( framebuffer_id: String, framebuffer_create_callback: FramebufferCreateCallbackJs, texture_id: Option<String>, ) -> Self
pub fn framebuffer_id(&self) -> String
pub fn texture_id(&self) -> Option<String>
pub fn create_framebuffer( &self, gl: WebGl2RenderingContext, now: f64, texture: Option<WebGlTexture>, ) -> WebGlFramebuffer
Source§impl FramebufferLinkJs
impl FramebufferLinkJs
pub fn into_inner(self) -> FramebufferLinkJsInner
Methods from Deref<Target = FramebufferLinkJsInner>§
pub fn framebuffer_id(&self) -> &FramebufferId
pub fn texture_id(&self) -> Option<TextureId>
pub fn create_framebuffer( &self, gl: WebGl2RenderingContext, now: f64, texture: Option<WebGlTexture>, ) -> WebGlFramebuffer
Trait Implementations§
Source§impl Clone for FramebufferLinkJs
impl Clone for FramebufferLinkJs
Source§fn clone(&self) -> FramebufferLinkJs
fn clone(&self) -> FramebufferLinkJs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for FramebufferLinkJs
impl Deref for FramebufferLinkJs
Source§impl DerefMut for FramebufferLinkJs
impl DerefMut for FramebufferLinkJs
Source§fn deref_mut(&mut self) -> &mut FramebufferLinkJsInner
fn deref_mut(&mut self) -> &mut FramebufferLinkJsInner
Mutably dereferences the value.
Source§impl From<FramebufferLinkJs> for FramebufferLinkJsInner
impl From<FramebufferLinkJs> for FramebufferLinkJsInner
Source§fn from(framebuffer_link_js: FramebufferLinkJs) -> Self
fn from(framebuffer_link_js: FramebufferLinkJs) -> Self
Converts to this type from the input type.
Source§impl From<FramebufferLinkJs> for JsValue
impl From<FramebufferLinkJs> for JsValue
Source§fn from(value: FramebufferLinkJs) -> Self
fn from(value: FramebufferLinkJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FramebufferLinkJs
impl FromWasmAbi for FramebufferLinkJs
Source§impl IntoWasmAbi for FramebufferLinkJs
impl IntoWasmAbi for FramebufferLinkJs
Source§impl RefFromWasmAbi for FramebufferLinkJs
impl RefFromWasmAbi for FramebufferLinkJs
Source§type Anchor = RcRef<FramebufferLinkJs>
type Anchor = RcRef<FramebufferLinkJs>
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 TryFromJsValue for FramebufferLinkJs
impl TryFromJsValue for FramebufferLinkJs
Source§impl VectorFromWasmAbi for FramebufferLinkJs
impl VectorFromWasmAbi for FramebufferLinkJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FramebufferLinkJs]>
Source§impl VectorIntoWasmAbi for FramebufferLinkJs
impl VectorIntoWasmAbi for FramebufferLinkJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FramebufferLinkJs]>) -> Self::Abi
Source§impl WasmDescribeVector for FramebufferLinkJs
impl WasmDescribeVector for FramebufferLinkJs
impl SupportsConstructor for FramebufferLinkJs
impl SupportsInstanceProperty for FramebufferLinkJs
impl SupportsStaticProperty for FramebufferLinkJs
Auto Trait Implementations§
impl Freeze for FramebufferLinkJs
impl !RefUnwindSafe for FramebufferLinkJs
impl !Send for FramebufferLinkJs
impl !Sync for FramebufferLinkJs
impl Unpin for FramebufferLinkJs
impl !UnwindSafe for FramebufferLinkJs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.