pub struct RenderPlanHints {
pub renderer_mode: Option<RendererMode>,
pub capability_profile: Option<CapabilityProfile>,
pub diagnostics: Option<RenderDiagnostics>,
pub tier: Option<Tier>,
}Expand description
Hints that can be attached to render plans without coupling to a specific provider implementation.
Fields§
§renderer_mode: Option<RendererMode>Desired renderer mode requested by the host.
capability_profile: Option<CapabilityProfile>Capability profile for the target destination or channel.
diagnostics: Option<RenderDiagnostics>Diagnostics emitted while producing the plan.
tier: Option<Tier>Optional tier summary for the plan body.
Trait Implementations§
Source§impl Clone for RenderPlanHints
impl Clone for RenderPlanHints
Source§fn clone(&self) -> RenderPlanHints
fn clone(&self) -> RenderPlanHints
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 RenderPlanHints
impl Debug for RenderPlanHints
Source§impl Default for RenderPlanHints
impl Default for RenderPlanHints
Source§fn default() -> RenderPlanHints
fn default() -> RenderPlanHints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RenderPlanHints
impl<'de> Deserialize<'de> for RenderPlanHints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RenderPlanHints
impl PartialEq for RenderPlanHints
Source§impl Serialize for RenderPlanHints
impl Serialize for RenderPlanHints
impl Eq for RenderPlanHints
impl StructuralPartialEq for RenderPlanHints
Auto Trait Implementations§
impl Freeze for RenderPlanHints
impl RefUnwindSafe for RenderPlanHints
impl Send for RenderPlanHints
impl Sync for RenderPlanHints
impl Unpin for RenderPlanHints
impl UnsafeUnpin for RenderPlanHints
impl UnwindSafe for RenderPlanHints
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.