pub struct ReflectedField {
pub name: String,
pub offset: usize,
}Expand description
One field as the shader compiler reported it.
Fields§
§name: StringThe field’s name.
offset: usizeThe field’s byte offset.
Trait Implementations§
Source§impl Clone for ReflectedField
impl Clone for ReflectedField
Source§fn clone(&self) -> ReflectedField
fn clone(&self) -> ReflectedField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReflectedField
impl Debug for ReflectedField
Source§impl PartialEq for ReflectedField
impl PartialEq for ReflectedField
impl StructuralPartialEq for ReflectedField
Auto Trait Implementations§
impl Freeze for ReflectedField
impl RefUnwindSafe for ReflectedField
impl Send for ReflectedField
impl Sync for ReflectedField
impl Unpin for ReflectedField
impl UnsafeUnpin for ReflectedField
impl UnwindSafe for ReflectedField
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