pub struct BaselineParameters {
pub fixed_alpha: f32,
pub residual_alpha_range: AlphaRange,
pub residual_threshold: SmoothstepThreshold,
pub clamp_distance: SmoothstepThreshold,
pub depth_disagreement: SmoothstepThreshold,
pub normal_disagreement: SmoothstepThreshold,
pub neighborhood_distance: SmoothstepThreshold,
}Fields§
§fixed_alpha: f32§residual_alpha_range: AlphaRange§residual_threshold: SmoothstepThreshold§clamp_distance: SmoothstepThreshold§depth_disagreement: SmoothstepThreshold§normal_disagreement: SmoothstepThreshold§neighborhood_distance: SmoothstepThresholdTrait Implementations§
Source§impl Clone for BaselineParameters
impl Clone for BaselineParameters
Source§fn clone(&self) -> BaselineParameters
fn clone(&self) -> BaselineParameters
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 BaselineParameters
impl Debug for BaselineParameters
Source§impl<'de> Deserialize<'de> for BaselineParameters
impl<'de> Deserialize<'de> for BaselineParameters
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 Serialize for BaselineParameters
impl Serialize for BaselineParameters
impl Copy for BaselineParameters
Auto Trait Implementations§
impl Freeze for BaselineParameters
impl RefUnwindSafe for BaselineParameters
impl Send for BaselineParameters
impl Sync for BaselineParameters
impl Unpin for BaselineParameters
impl UnsafeUnpin for BaselineParameters
impl UnwindSafe for BaselineParameters
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