pub struct Linear;Expand description
Linear transfer function. Noop.
Stored values equal linear light. The only transfer function for which premultiplied alpha compositing is physically correct.
Trait Implementations§
impl Copy for Linear
impl Eq for Linear
impl StructuralPartialEq for Linear
impl TransferFunction for Linear
Auto Trait Implementations§
impl Freeze for Linear
impl RefUnwindSafe for Linear
impl Send for Linear
impl Sync for Linear
impl Unpin for Linear
impl UnsafeUnpin for Linear
impl UnwindSafe for Linear
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