pub struct Crf {
pub plane: PlaneSize,
/* private fields */
}
Fields§
§plane: PlaneSize
Implementations§
Source§impl Crf
impl Crf
pub fn new(crf: Option<u8>, plane: PlaneSize) -> Self
pub fn update_quality(&mut self, crf: u8)
pub fn override_c_thresh_baseline(&mut self, baseline: u8)
pub fn override_c_thresh_max(&mut self, max: u8)
pub fn override_c_increase_velocity(&mut self, velocity: u8)
pub fn override_feature_c_radius(&mut self, radius: u16)
pub fn get_parameters(&self) -> &CrfParameters
pub fn get_parameters_mut(&mut self) -> &mut CrfParameters
pub fn get_quality(&self) -> Option<u8>
Trait Implementations§
impl Copy for Crf
impl StructuralPartialEq for Crf
Auto Trait Implementations§
impl Freeze for Crf
impl RefUnwindSafe for Crf
impl Send for Crf
impl Sync for Crf
impl Unpin for Crf
impl UnwindSafe for Crf
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