Struct canvas_traits::webgl::ProgramLinkInfo
source · pub struct ProgramLinkInfo {
pub linked: bool,
pub active_attribs: Box<[ActiveAttribInfo]>,
pub active_uniforms: Box<[ActiveUniformInfo]>,
pub active_uniform_blocks: Box<[ActiveUniformBlockInfo]>,
pub transform_feedback_length: i32,
pub transform_feedback_mode: i32,
}
Expand description
Information about a WebGL program linking operation.
Fields§
§linked: bool
Whether the program was linked successfully.
active_attribs: Box<[ActiveAttribInfo]>
The list of active attributes.
active_uniforms: Box<[ActiveUniformInfo]>
The list of active uniforms.
active_uniform_blocks: Box<[ActiveUniformBlockInfo]>
The list of active uniform blocks.
transform_feedback_length: i32
The number of varying variables
transform_feedback_mode: i32
The buffer mode used when transform feedback is active
Trait Implementations§
source§impl Clone for ProgramLinkInfo
impl Clone for ProgramLinkInfo
source§fn clone(&self) -> ProgramLinkInfo
fn clone(&self) -> ProgramLinkInfo
Returns a copy 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 Debug for ProgramLinkInfo
impl Debug for ProgramLinkInfo
source§impl<'de> Deserialize<'de> for ProgramLinkInfo
impl<'de> Deserialize<'de> for ProgramLinkInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProgramLinkInfo
impl RefUnwindSafe for ProgramLinkInfo
impl Send for ProgramLinkInfo
impl Sync for ProgramLinkInfo
impl Unpin for ProgramLinkInfo
impl UnwindSafe for ProgramLinkInfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert