pub struct ModularImageDestination<S: Sample> { /* private fields */ }
Implementations§
source§impl<S: Sample> ModularImageDestination<S>
impl<S: Sample> ModularImageDestination<S>
pub fn try_clone(&self) -> Result<Self>
pub fn image_channels(&self) -> &[AlignedGrid<S>]
pub fn into_image_channels(self) -> Vec<AlignedGrid<S>>
pub fn into_image_channels_with_info( self, ) -> impl Iterator<Item = (AlignedGrid<S>, ModularChannelInfo)>
pub fn has_palette(&self) -> bool
pub fn has_squeeze(&self) -> bool
source§impl<S: Sample> ModularImageDestination<S>
impl<S: Sample> ModularImageDestination<S>
pub fn prepare_gmodular(&mut self) -> Result<TransformedModularSubimage<'_, S>>
pub fn prepare_groups( &mut self, pass_shifts: &BTreeMap<u32, (i32, i32)>, ) -> Result<TransformedGlobalModular<'_, S>>
pub fn prepare_subimage(&mut self) -> Result<TransformedModularSubimage<'_, S>>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for ModularImageDestination<S>
impl<S> RefUnwindSafe for ModularImageDestination<S>where
S: RefUnwindSafe,
impl<S> Send for ModularImageDestination<S>
impl<S> Sync for ModularImageDestination<S>
impl<S> Unpin for ModularImageDestination<S>where
S: Unpin,
impl<S> UnwindSafe for ModularImageDestination<S>where
S: UnwindSafe,
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