pub struct RestorationPlane {
pub cfg: RestorationPlaneConfig,
pub units: FrameRestorationUnits,
}
Fields§
§cfg: RestorationPlaneConfig
§units: FrameRestorationUnits
Implementations§
Source§impl RestorationPlane
impl RestorationPlane
pub fn new( lrf_type: u8, unit_size: usize, sb_h_shift: usize, sb_v_shift: usize, sb_cols: usize, sb_rows: usize, stripe_decimate: usize, cols: usize, rows: usize, ) -> RestorationPlane
fn restoration_unit_index_by_stripe( &self, stripenum: usize, rux: usize, ) -> (usize, usize)
pub fn restoration_unit_by_stripe( &self, stripenum: usize, rux: usize, ) -> &RestorationUnit
Trait Implementations§
Source§impl Clone for RestorationPlane
impl Clone for RestorationPlane
Source§fn clone(&self) -> RestorationPlane
fn clone(&self) -> RestorationPlane
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for RestorationPlane
impl RefUnwindSafe for RestorationPlane
impl Send for RestorationPlane
impl Sync for RestorationPlane
impl Unpin for RestorationPlane
impl UnwindSafe for RestorationPlane
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more