Struct ascending_graphics::Std140ScreenUniform
source · #[repr(C)]pub struct Std140ScreenUniform { /* private fields */ }Implementations§
Trait Implementations§
source§impl Clone for Std140ScreenUniform
impl Clone for Std140ScreenUniform
source§fn clone(&self) -> Std140ScreenUniform
fn clone(&self) -> Std140ScreenUniform
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 moresource§impl Debug for Std140ScreenUniform
impl Debug for Std140ScreenUniform
source§impl Std140 for Std140ScreenUniform
impl Std140 for Std140ScreenUniform
impl Copy for Std140ScreenUniform
impl Pod for Std140ScreenUniform
Auto Trait Implementations§
impl Freeze for Std140ScreenUniform
impl RefUnwindSafe for Std140ScreenUniform
impl Send for Std140ScreenUniform
impl Sync for Std140ScreenUniform
impl Unpin for Std140ScreenUniform
impl UnwindSafe for Std140ScreenUniform
Blanket Implementations§
source§impl<T> AsStd140 for Twhere
T: Std140,
impl<T> AsStd140 for Twhere
T: Std140,
source§fn from_std140(x: T) -> T
fn from_std140(x: T) -> T
Converts from
std140 version of self to self.source§fn std140_size_static() -> usize
fn std140_size_static() -> usize
Returns the size of the
std140 version of this type. Useful for
pre-sizing buffers.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
source§impl<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.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WriteStd140 for Twhere
T: AsStd140,
impl<T> WriteStd140 for Twhere
T: AsStd140,
source§fn std140_size(&self) -> usize
fn std140_size(&self) -> usize
The space required to write this value using
std140 layout rules. This
does not include alignment padding that may be needed before or after
this type when written as part of a larger buffer.