Struct libvips::VipsInterpolate
source · pub struct VipsInterpolate { /* private fields */ }
Implementations§
source§impl VipsInterpolate
impl VipsInterpolate
sourcepub fn new() -> VipsInterpolate
pub fn new() -> VipsInterpolate
defaults to vips_interpolate_nearest_static
pub fn new_from_neasest_static() -> VipsInterpolate
pub fn new_from_bilinear_static() -> VipsInterpolate
pub fn new_from_name(name: &str) -> Result<VipsInterpolate>
pub fn get_window_size(&self) -> i32
pub fn get_windows_offset(&self) -> i32
Trait Implementations§
source§impl Clone for VipsInterpolate
impl Clone for VipsInterpolate
source§fn clone(&self) -> VipsInterpolate
fn clone(&self) -> VipsInterpolate
Returns a copy 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 moresource§impl Debug for VipsInterpolate
impl Debug for VipsInterpolate
Auto Trait Implementations§
impl RefUnwindSafe for VipsInterpolate
impl !Send for VipsInterpolate
impl !Sync for VipsInterpolate
impl Unpin for VipsInterpolate
impl UnwindSafe for VipsInterpolate
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