Struct ExSaveWebpToBuffer
pub struct ExSaveWebpToBuffer<'a> { /* private fields */ }
Expand description
Default-param extender for Image::save_webp_to_buffer_ex
.
Implementations§
§impl<'a> ExSaveWebpToBuffer<'a>
impl<'a> ExSaveWebpToBuffer<'a>
pub fn lossy(self, value: bool) -> ExSaveWebpToBuffer<'a>
pub fn quality(self, value: f32) -> ExSaveWebpToBuffer<'a>
pub fn done(self) -> PackedByteArray
Auto Trait Implementations§
impl<'a> Freeze for ExSaveWebpToBuffer<'a>
impl<'a> RefUnwindSafe for ExSaveWebpToBuffer<'a>
impl<'a> !Send for ExSaveWebpToBuffer<'a>
impl<'a> !Sync for ExSaveWebpToBuffer<'a>
impl<'a> Unpin for ExSaveWebpToBuffer<'a>
impl<'a> UnwindSafe for ExSaveWebpToBuffer<'a>
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