Enum gfx_device_gl::TargetView
source · pub enum TargetView {
Surface(Surface),
Texture(Texture, Level),
TextureLayer(Texture, Level, Layer),
}
Variants
Surface(Surface)
Texture(Texture, Level)
TextureLayer(Texture, Level, Layer)
Trait Implementations
sourceimpl Clone for TargetView
impl Clone for TargetView
sourcefn clone(&self) -> TargetView
fn clone(&self) -> TargetView
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TargetView
impl Debug for TargetView
sourceimpl Hash for TargetView
impl Hash for TargetView
sourceimpl PartialEq<TargetView> for TargetView
impl PartialEq<TargetView> for TargetView
sourcefn eq(&self, other: &TargetView) -> bool
fn eq(&self, other: &TargetView) -> bool
impl Copy for TargetView
impl Eq for TargetView
impl StructuralEq for TargetView
impl StructuralPartialEq for TargetView
Auto Trait Implementations
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnwindSafe for TargetView
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