pub struct BitmapRegion<B> { /* private fields */ }Available on crate features
alloc or std only.Expand description
One bitmap subtitle region (rectangle of paletted pixels).
Mirrors AVSubtitleRect for bitmap subtitles. palette and
data use the buffer type B so callers can pick the storage.
Plane stride and palette length are stored as u32 for parity
with the rest of the crate’s geometry conventions.
Implementations§
Trait Implementations§
Source§impl<B: Clone> Clone for BitmapRegion<B>
impl<B: Clone> Clone for BitmapRegion<B>
Source§fn clone(&self) -> BitmapRegion<B>
fn clone(&self) -> BitmapRegion<B>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<B> Freeze for BitmapRegion<B>where
B: Freeze,
impl<B> RefUnwindSafe for BitmapRegion<B>where
B: RefUnwindSafe,
impl<B> Send for BitmapRegion<B>where
B: Send,
impl<B> Sync for BitmapRegion<B>where
B: Sync,
impl<B> Unpin for BitmapRegion<B>where
B: Unpin,
impl<B> UnsafeUnpin for BitmapRegion<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for BitmapRegion<B>where
B: 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