pub struct ImageWithRegion { /* private fields */ }
Implementations§
Source§impl ImageWithRegion
impl ImageWithRegion
pub fn channels(&self) -> usize
pub fn buffer(&self) -> &[ImageBuffer]
pub fn buffer_mut(&mut self) -> &mut [ImageBuffer]
pub fn take_buffer(&mut self) -> Vec<ImageBuffer>
pub fn regions_and_shifts(&self) -> &[(Region, ChannelShift)]
pub fn append_channel(&mut self, buffer: ImageBuffer, region: Region)
pub fn append_channel_shifted( &mut self, buffer: ImageBuffer, original_region: Region, shift: ChannelShift, )
pub fn replace_channel( &mut self, index: usize, buffer: ImageBuffer, region: Region, )
pub fn replace_channel_shifted( &mut self, index: usize, buffer: ImageBuffer, original_region: Region, shift: ChannelShift, )
pub fn extend_from_gmodular<S: Sample>(&mut self, gmodular: GlobalModular<S>)
pub fn color_channels(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageWithRegion
impl RefUnwindSafe for ImageWithRegion
impl Send for ImageWithRegion
impl Sync for ImageWithRegion
impl Unpin for ImageWithRegion
impl UnwindSafe for ImageWithRegion
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