pub struct ChannelOps;Expand description
Color channel operations
Implementations§
Source§impl ChannelOps
impl ChannelOps
Sourcepub fn swap_channels(data: &mut [u8], channel_a: usize, channel_b: usize)
pub fn swap_channels(data: &mut [u8], channel_a: usize, channel_b: usize)
Swaps two color channels
Auto Trait Implementations§
impl Freeze for ChannelOps
impl RefUnwindSafe for ChannelOps
impl Send for ChannelOps
impl Sync for ChannelOps
impl Unpin for ChannelOps
impl UnsafeUnpin for ChannelOps
impl UnwindSafe for ChannelOps
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