pub struct Transform { /* private fields */ }
Expand description
A transform from an input profile to an output one.
Implementations§
source§impl Transform
impl Transform
sourcepub fn new(
input: &Profile,
output: &Profile,
ty: DataType,
intent: Intent
) -> Option<Self>
pub fn new( input: &Profile, output: &Profile, ty: DataType, intent: Intent ) -> Option<Self>
Create a new transform from input
to output
for pixels of DataType
ty
with intent
Auto Trait Implementations§
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
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