pub struct ProgramLinkJs(/* private fields */);Implementations§
Source§impl ProgramLinkJs
impl ProgramLinkJs
pub fn new( program_id: String, vertex_shader_id: String, fragment_shader_id: String, ) -> Self
pub fn program_id(&self) -> String
pub fn vertex_shader_id(&self) -> String
pub fn fragment_shader_id(&self) -> String
pub fn transform_feedback_varyings(&self) -> StringArray
pub fn builder() -> ProgramLinkJsBuilder
Source§impl ProgramLinkJs
impl ProgramLinkJs
pub fn into_inner(self) -> ProgramLinkJsInner
Methods from Deref<Target = ProgramLinkJsInner>§
pub fn program_id(&self) -> &ProgramId
pub fn vertex_shader_id(&self) -> &VertexShaderId
pub fn fragment_shader_id(&self) -> &FragmentShaderId
pub fn transform_feedback_varyings(&self) -> &[String]
Trait Implementations§
Source§impl Deref for ProgramLinkJs
impl Deref for ProgramLinkJs
Source§impl DerefMut for ProgramLinkJs
impl DerefMut for ProgramLinkJs
Source§fn deref_mut(&mut self) -> &mut ProgramLinkJsInner
fn deref_mut(&mut self) -> &mut ProgramLinkJsInner
Mutably dereferences the value.
Source§impl From<ProgramLink<String, String, String>> for ProgramLinkJs
impl From<ProgramLink<String, String, String>> for ProgramLinkJs
Source§fn from(js_program_link_inner: ProgramLinkJsInner) -> Self
fn from(js_program_link_inner: ProgramLinkJsInner) -> Self
Converts to this type from the input type.
Source§impl From<ProgramLinkJs> for JsValue
impl From<ProgramLinkJs> for JsValue
Source§fn from(value: ProgramLinkJs) -> Self
fn from(value: ProgramLinkJs) -> Self
Converts to this type from the input type.
Source§impl From<ProgramLinkJs> for ProgramLinkJsInner
impl From<ProgramLinkJs> for ProgramLinkJsInner
Source§fn from(js_program_link: ProgramLinkJs) -> Self
fn from(js_program_link: ProgramLinkJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ProgramLinkJs
impl FromWasmAbi for ProgramLinkJs
Source§impl IntoWasmAbi for ProgramLinkJs
impl IntoWasmAbi for ProgramLinkJs
Source§impl LongRefFromWasmAbi for ProgramLinkJs
impl LongRefFromWasmAbi for ProgramLinkJs
Source§impl OptionFromWasmAbi for ProgramLinkJs
impl OptionFromWasmAbi for ProgramLinkJs
Source§impl OptionIntoWasmAbi for ProgramLinkJs
impl OptionIntoWasmAbi for ProgramLinkJs
Source§impl RefFromWasmAbi for ProgramLinkJs
impl RefFromWasmAbi for ProgramLinkJs
Source§type Anchor = RcRef<ProgramLinkJs>
type Anchor = RcRef<ProgramLinkJs>
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 ProgramLinkJs
impl RefMutFromWasmAbi for ProgramLinkJs
Source§impl TryFromJsValue for ProgramLinkJs
impl TryFromJsValue for ProgramLinkJs
Source§impl VectorFromWasmAbi for ProgramLinkJs
impl VectorFromWasmAbi for ProgramLinkJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ProgramLinkJs]>
Source§impl VectorIntoWasmAbi for ProgramLinkJs
impl VectorIntoWasmAbi for ProgramLinkJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ProgramLinkJs]>) -> Self::Abi
Source§impl WasmDescribeVector for ProgramLinkJs
impl WasmDescribeVector for ProgramLinkJs
impl SupportsConstructor for ProgramLinkJs
impl SupportsInstanceProperty for ProgramLinkJs
impl SupportsStaticProperty for ProgramLinkJs
Auto Trait Implementations§
impl Freeze for ProgramLinkJs
impl RefUnwindSafe for ProgramLinkJs
impl Send for ProgramLinkJs
impl Sync for ProgramLinkJs
impl Unpin for ProgramLinkJs
impl UnwindSafe for ProgramLinkJs
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.