pub struct GlslVariable { /* private fields */ }Implementations§
Source§impl GlslVariable
impl GlslVariable
pub fn new<T: GlslType>(qualifier: GlslQualifier, name: &str) -> GlslVariable
pub fn new_const<T: GlslType>(name: &str) -> GlslVariable
pub fn new_input<T: GlslType>(name: &str) -> GlslVariable
pub fn new_output<T: GlslType>(name: &str) -> GlslVariable
pub fn new_uniform<T: GlslType>(name: &str) -> GlslVariable
pub fn set_size(&mut self, size: u32)
Trait Implementations§
Source§impl Clone for GlslVariable
impl Clone for GlslVariable
Source§fn clone(&self) -> GlslVariable
fn clone(&self) -> GlslVariable
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 Debug for GlslVariable
impl Debug for GlslVariable
Source§impl Default for GlslVariable
impl Default for GlslVariable
Source§fn default() -> GlslVariable
fn default() -> GlslVariable
Returns the “default value” for a type. Read more
Source§impl PartialEq for GlslVariable
impl PartialEq for GlslVariable
Source§impl ToString for GlslVariable
impl ToString for GlslVariable
impl Eq for GlslVariable
impl StructuralPartialEq for GlslVariable
Auto Trait Implementations§
impl Freeze for GlslVariable
impl RefUnwindSafe for GlslVariable
impl Send for GlslVariable
impl Sync for GlslVariable
impl Unpin for GlslVariable
impl UnwindSafe for GlslVariable
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