pub struct UniformProp {
pub name: String,
pub ident: UniformType,
pub offset: usize,
pub slots: usize,
}
Fields§
§name: String
§ident: UniformType
§offset: usize
§slots: usize
Trait Implementations§
Source§impl Clone for UniformProp
impl Clone for UniformProp
Source§fn clone(&self) -> UniformProp
fn clone(&self) -> UniformProp
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 moreAuto Trait Implementations§
impl Freeze for UniformProp
impl RefUnwindSafe for UniformProp
impl Send for UniformProp
impl Sync for UniformProp
impl Unpin for UniformProp
impl UnwindSafe for UniformProp
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