pub struct RenderProfile { /* private fields */ }Expand description
A reusable, declarative recipe for presentation effects.
Implementations§
Source§impl RenderProfile
impl RenderProfile
Sourcepub const fn inspection() -> Self
pub const fn inspection() -> Self
The quantitative inspection baseline with no optional presentation modules.
Sourcepub fn illustrative() -> Self
pub fn illustrative() -> Self
A restrained publication illustration recipe.
Sourcepub fn cinematic() -> Self
pub fn cinematic() -> Self
Art-directed molecular-film optics and grading. It deliberately leaves the fallback backdrop unchanged: biological context must be represented by structures, solvent, membranes or caller density.
Sourcepub fn with_effect(self, effect: PresentationEffect) -> Self
pub fn with_effect(self, effect: PresentationEffect) -> Self
Appends a fully weighted module.
Sourcepub fn with_layer(self, layer: EffectLayer) -> Self
pub fn with_layer(self, layer: EffectLayer) -> Self
Appends a weighted, prioritized module.
Sourcepub fn layers(&self) -> &[EffectLayer]
pub fn layers(&self) -> &[EffectLayer]
Modules in insertion order. Resolution also considers priority.
Trait Implementations§
Source§impl Clone for RenderProfile
impl Clone for RenderProfile
Source§impl Debug for RenderProfile
impl Debug for RenderProfile
Source§impl Default for RenderProfile
impl Default for RenderProfile
Source§impl<'de> Deserialize<'de> for RenderProfile
impl<'de> Deserialize<'de> for RenderProfile
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 RenderProfile
impl PartialEq for RenderProfile
Source§impl Serialize for RenderProfile
impl Serialize for RenderProfile
impl StructuralPartialEq for RenderProfile
Auto Trait Implementations§
impl Freeze for RenderProfile
impl RefUnwindSafe for RenderProfile
impl Send for RenderProfile
impl Sync for RenderProfile
impl Unpin for RenderProfile
impl UnsafeUnpin for RenderProfile
impl UnwindSafe for RenderProfile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more