Struct ofx::ImageHandle
source · pub struct ImageHandle { /* private fields */ }Implementations
sourceimpl ImageHandle
impl ImageHandle
pub fn new(
inner: OfxPropertySetHandle,
property: Rc<OfxPropertySuiteV1>,
image_effect: Rc<OfxImageEffectSuiteV1>
) -> Self
pub fn get_descriptor<T>(&self) -> Result<ImageDescriptor<'_, T>>where
T: PixelFormat,
pub fn get_tiles_mut<T>(
&mut self,
count: usize
) -> Result<Vec<ImageTileMut<'_, T>>>where
T: PixelFormat,
Trait Implementations
sourceimpl AsProperties for ImageHandle
impl AsProperties for ImageHandle
fn handle(&self) -> OfxPropertySetHandle
fn suite(&self) -> *const OfxPropertySuiteV1
sourceimpl CanGetBounds for ImageHandle
impl CanGetBounds for ImageHandle
fn get_bounds(&self) -> Result<<Bounds as Get>::ReturnType>
sourceimpl CanGetComponents for ImageHandle
impl CanGetComponents for ImageHandle
fn get_components(&self) -> Result<ImageComponent>
sourceimpl CanGetData for ImageHandle
impl CanGetData for ImageHandle
fn get_data(&self) -> Result<<Data as Get>::ReturnType>
sourceimpl CanGetImageRegionOfDefinition for ImageHandle
impl CanGetImageRegionOfDefinition for ImageHandle
fn get_region_of_definition(
&self
) -> Result<<RegionOfDefinition as Get>::ReturnType>
sourceimpl CanGetPixelAspectRatio for ImageHandle
impl CanGetPixelAspectRatio for ImageHandle
fn get_region_of_definition(
&self
) -> Result<<PixelAspectRatio as Get>::ReturnType>
sourceimpl CanGetPixelDepth for ImageHandle
impl CanGetPixelDepth for ImageHandle
fn get_pixel_depth(&self) -> Result<BitDepth>
sourceimpl CanGetPreMultiplication for ImageHandle
impl CanGetPreMultiplication for ImageHandle
fn get_pre_multiplication(
&self
) -> Result<<PreMultiplication as Get>::ReturnType>
sourceimpl CanGetRowBytes for ImageHandle
impl CanGetRowBytes for ImageHandle
fn get_row_bytes(&self) -> Result<<RowBytes as Get>::ReturnType>
sourceimpl CanGetType for ImageHandle
impl CanGetType for ImageHandle
sourceimpl CanGetUnmappedComponents for ImageHandle
impl CanGetUnmappedComponents for ImageHandle
fn get_unmapped_components(&self) -> Result<ImageComponent>
sourceimpl CanGetUnmappedPixelDepth for ImageHandle
impl CanGetUnmappedPixelDepth for ImageHandle
fn get_unmapped_pixel_depth(&self) -> Result<BitDepth>
sourceimpl Clone for ImageHandle
impl Clone for ImageHandle
sourcefn clone(&self) -> ImageHandle
fn clone(&self) -> ImageHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for ImageHandle
impl !Send for ImageHandle
impl !Sync for ImageHandle
impl Unpin for ImageHandle
impl UnwindSafe for ImageHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more