Enum femtovg::renderer::RenderTarget
source · pub enum RenderTarget {
Screen,
Image(ImageId),
}
Variants§
Trait Implementations§
source§impl Clone for RenderTarget
impl Clone for RenderTarget
source§fn clone(&self) -> RenderTarget
fn clone(&self) -> RenderTarget
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 RenderTarget
impl Debug for RenderTarget
source§impl Ord for RenderTarget
impl Ord for RenderTarget
source§fn cmp(&self, other: &RenderTarget) -> Ordering
fn cmp(&self, other: &RenderTarget) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RenderTarget
impl PartialEq for RenderTarget
source§fn eq(&self, other: &RenderTarget) -> bool
fn eq(&self, other: &RenderTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RenderTarget
impl PartialOrd for RenderTarget
source§fn partial_cmp(&self, other: &RenderTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &RenderTarget) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RenderTarget
impl Eq for RenderTarget
impl StructuralPartialEq for RenderTarget
Auto Trait Implementations§
impl Freeze for RenderTarget
impl RefUnwindSafe for RenderTarget
impl Send for RenderTarget
impl Sync for RenderTarget
impl Unpin for RenderTarget
impl UnwindSafe for RenderTarget
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