Struct pilka_types::Uniform
source · [−]#[repr(C)]pub struct Uniform {
pub pos: [f32; 3],
pub wh: [f32; 2],
pub mouse: [f32; 2],
pub mouse_pressed: u32,
pub time: f32,
pub time_delta: f32,
pub frame: u32,
pub record_period: f32,
/* private fields */
}
Fields
pos: [f32; 3]
wh: [f32; 2]
mouse: [f32; 2]
mouse_pressed: u32
time: f32
time_delta: f32
frame: u32
record_period: f32
Trait Implementations
sourceimpl From<PushConstant> for Uniform
impl From<PushConstant> for Uniform
sourcefn from(_: PushConstant) -> Self
fn from(_: PushConstant) -> Self
Converts to this type from the input type.
impl Copy for Uniform
impl Pod for Uniform
Auto Trait Implementations
impl RefUnwindSafe for Uniform
impl Send for Uniform
impl Sync for Uniform
impl Unpin for Uniform
impl UnwindSafe for Uniform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more