pub struct GBufferTarget {
pub format: GfxFormat,
pub channels: [ChannelSemantic; 4],
}Expand description
Ein Farb-Target des Layouts: Format + Belegung seiner Kanäle.
Fields§
§format: GfxFormat§channels: [ChannelSemantic; 4]Trait Implementations§
Source§impl Clone for GBufferTarget
impl Clone for GBufferTarget
Source§fn clone(&self) -> GBufferTarget
fn clone(&self) -> GBufferTarget
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 moreimpl Copy for GBufferTarget
Source§impl Debug for GBufferTarget
impl Debug for GBufferTarget
impl Eq for GBufferTarget
Source§impl PartialEq for GBufferTarget
impl PartialEq for GBufferTarget
Source§fn eq(&self, other: &GBufferTarget) -> bool
fn eq(&self, other: &GBufferTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GBufferTarget
Auto Trait Implementations§
impl Freeze for GBufferTarget
impl RefUnwindSafe for GBufferTarget
impl Send for GBufferTarget
impl Sync for GBufferTarget
impl Unpin for GBufferTarget
impl UnsafeUnpin for GBufferTarget
impl UnwindSafe for GBufferTarget
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