pub struct Scaler { /* private fields */ }
Implementations§
Source§impl Scaler
impl Scaler
pub fn new( src_width: NonZeroU16, src_height: NonZeroU16, pix_fmt: PixelFormat, dst_width: NonZeroU16, dst_height: NonZeroU16, ) -> Result<Self, CreateScalerError>
Auto Trait Implementations§
impl Freeze for Scaler
impl RefUnwindSafe for Scaler
impl !Send for Scaler
impl !Sync for Scaler
impl Unpin for Scaler
impl UnwindSafe for Scaler
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