pub struct ResizeBicubic { /* private fields */ }
Expand description
Builder for the ResizeBicubic
operation.
Implementations§
Source§impl ResizeBicubic
impl ResizeBicubic
Sourcepub fn align_corners<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn align_corners<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the align_corners
attribute.
Sourcepub fn half_pixel_centers<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn half_pixel_centers<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the half_pixel_centers
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for ResizeBicubic
impl Debug for ResizeBicubic
Source§impl Default for ResizeBicubic
impl Default for ResizeBicubic
Source§fn default() -> ResizeBicubic
fn default() -> ResizeBicubic
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResizeBicubic
impl RefUnwindSafe for ResizeBicubic
impl Send for ResizeBicubic
impl Sync for ResizeBicubic
impl Unpin for ResizeBicubic
impl UnwindSafe for ResizeBicubic
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