pub struct BloomPyramidLevel {
pub width: u32,
pub height: u32,
pub sigma: f32,
pub weight: f32,
}Expand description
Descriptor for one level of the bloom pyramid.
Fields§
§width: u32Width of this level in pixels.
height: u32Height of this level in pixels.
sigma: f32Blur sigma (standard deviation) for this level.
weight: f32Contribution weight when compositing all levels.
Trait Implementations§
Source§impl Clone for BloomPyramidLevel
impl Clone for BloomPyramidLevel
Source§fn clone(&self) -> BloomPyramidLevel
fn clone(&self) -> BloomPyramidLevel
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 moreAuto Trait Implementations§
impl Freeze for BloomPyramidLevel
impl RefUnwindSafe for BloomPyramidLevel
impl Send for BloomPyramidLevel
impl Sync for BloomPyramidLevel
impl Unpin for BloomPyramidLevel
impl UnsafeUnpin for BloomPyramidLevel
impl UnwindSafe for BloomPyramidLevel
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