pub struct VipsTarget { /* private fields */ }
Implementations§
Source§impl VipsTarget
impl VipsTarget
pub fn new_to_descriptor(descriptor: i32) -> Result<Self>
pub fn new_to_file(filename: &str) -> Result<Self>
pub fn new_to_memory() -> Result<Self>
pub fn write(&mut self, buffer: &[u8]) -> Result<()>
pub fn finish(self)
pub fn putc(&mut self, ch: char) -> Result<()>
pub fn writes(&mut self, text: &str) -> Result<()>
pub fn write_amp(&mut self, text: &str) -> Result<()>
Trait Implementations§
Source§impl Clone for VipsTarget
impl Clone for VipsTarget
Source§fn clone(&self) -> VipsTarget
fn clone(&self) -> VipsTarget
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 VipsTarget
impl Debug for VipsTarget
Auto Trait Implementations§
impl Freeze for VipsTarget
impl RefUnwindSafe for VipsTarget
impl !Send for VipsTarget
impl !Sync for VipsTarget
impl Unpin for VipsTarget
impl UnwindSafe for VipsTarget
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