pub enum TargetView {
Surface(Surface),
Texture(Texture, Level),
TextureLayer(Texture, Level, Layer),
}
Variants§
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
Source§fn clone(&self) -> TargetView
fn clone(&self) -> TargetView
Returns a duplicate 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 TargetView
impl Debug for TargetView
Source§impl Hash for TargetView
impl Hash for TargetView
Source§impl PartialEq for TargetView
impl PartialEq for TargetView
impl Copy for TargetView
impl Eq for TargetView
impl StructuralPartialEq for TargetView
Auto Trait Implementations§
impl Freeze for TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnwindSafe for TargetView
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