pub struct UniformDesc { /* private fields */ }
Implementations§
Source§impl UniformDesc
impl UniformDesc
pub fn new(name: String, format: UniformDataType, count: usize) -> UniformDesc
pub fn name(&self) -> &str
pub fn format(&self) -> UniformDataType
pub fn count(&self) -> usize
Trait Implementations§
Source§impl Clone for UniformDesc
impl Clone for UniformDesc
Source§fn clone(&self) -> UniformDesc
fn clone(&self) -> UniformDesc
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 moreAuto Trait Implementations§
impl Freeze for UniformDesc
impl RefUnwindSafe for UniformDesc
impl Send for UniformDesc
impl Sync for UniformDesc
impl Unpin for UniformDesc
impl UnwindSafe for UniformDesc
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