pub struct UniformField {
pub name: String,
pub offset: u32,
pub size: u32,
}Expand description
Automatically computed uniform member placement.
Fields§
§name: StringParameter name.
offset: u32Byte offset from the uniform buffer start.
size: u32Bytes reserved for the member.
Trait Implementations§
Source§impl Clone for UniformField
impl Clone for UniformField
Source§impl Debug for UniformField
impl Debug for UniformField
impl Eq for UniformField
Source§impl PartialEq for UniformField
impl PartialEq for UniformField
impl StructuralPartialEq for UniformField
Auto Trait Implementations§
impl Freeze for UniformField
impl RefUnwindSafe for UniformField
impl Send for UniformField
impl Sync for UniformField
impl Unpin for UniformField
impl UnsafeUnpin for UniformField
impl UnwindSafe for UniformField
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.