pub struct Intensity { /* private fields */ }
Expand description
Holds Pass
objects and applies them in order
Implementations§
source§impl Intensity
impl Intensity
sourcepub fn new(level: u64, passes: Vec<(String, Pass)>) -> Self
pub fn new(level: u64, passes: Vec<(String, Pass)>) -> Self
Creates new instance from vec of passes and their names
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Intensity
impl Send for Intensity
impl Sync for Intensity
impl Unpin for Intensity
impl !UnwindSafe for Intensity
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