pub struct RenderTargetProperties {
pub retains_previous_frame_contents: bool,
pub is_suitable_for_direct_rendering: bool,
}Expand description
Static properties of a render target.
Fields§
§retains_previous_frame_contents: boolWhether the render target retains the contents of the previous frame when a new drawing context is created.
is_suitable_for_direct_rendering: boolWhether it’s worth to render directly to this target rather than through an intermediate surface.
Trait Implementations§
Source§impl Clone for RenderTargetProperties
impl Clone for RenderTargetProperties
impl Copy for RenderTargetProperties
Source§impl Debug for RenderTargetProperties
impl Debug for RenderTargetProperties
Source§impl Default for RenderTargetProperties
impl Default for RenderTargetProperties
impl Eq for RenderTargetProperties
Source§impl PartialEq for RenderTargetProperties
impl PartialEq for RenderTargetProperties
impl StructuralPartialEq for RenderTargetProperties
Auto Trait Implementations§
impl Freeze for RenderTargetProperties
impl RefUnwindSafe for RenderTargetProperties
impl Send for RenderTargetProperties
impl Sync for RenderTargetProperties
impl Unpin for RenderTargetProperties
impl UnsafeUnpin for RenderTargetProperties
impl UnwindSafe for RenderTargetProperties
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more