Enum three_d::core::render_target::CopyDestination
source · [−]pub enum CopyDestination<'a, 'b, 'c, 'd, T: TextureDataType> {
Screen,
ColorTexture(&'d mut Texture2D<T>),
DepthTexture(&'d mut DepthTargetTexture2D),
RenderTarget(&'c RenderTarget<'a, 'b, T>),
}Expand description
The destination of applying a copy.
Variants
Screen
Copies to the Screen.
ColorTexture(&'d mut Texture2D<T>)
Copies to a Texture2D.
DepthTexture(&'d mut DepthTargetTexture2D)
Copies to a DepthTargetTexture2D.
RenderTarget(&'c RenderTarget<'a, 'b, T>)
Copies to a RenderTarget.
Auto Trait Implementations
impl<'a, 'b, 'c, 'd, T> !RefUnwindSafe for CopyDestination<'a, 'b, 'c, 'd, T>
impl<'a, 'b, 'c, 'd, T> !Send for CopyDestination<'a, 'b, 'c, 'd, T>
impl<'a, 'b, 'c, 'd, T> !Sync for CopyDestination<'a, 'b, 'c, 'd, T>
impl<'a, 'b, 'c, 'd, T> Unpin for CopyDestination<'a, 'b, 'c, 'd, T> where
'a: 'c,
'b: 'c,
impl<'a, 'b, 'c, 'd, T> !UnwindSafe for CopyDestination<'a, 'b, 'c, 'd, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more