pub struct VipsTarget { /* private fields */ }Implementations§
Source§impl VipsTarget
impl VipsTarget
Sourcepub fn new_to_descriptor(descriptor: i32) -> Result<Self>
pub fn new_to_descriptor(descriptor: i32) -> Result<Self>
Create a target attached to a file descriptor. descriptor is kept open until the target is finalized.
Sourcepub fn new_to_file(filename: &str) -> Result<Self>
pub fn new_to_file(filename: &str) -> Result<Self>
Create a target attached to a file.
Sourcepub fn new_to_memory() -> Result<Self>
pub fn new_to_memory() -> Result<Self>
Create a target which will write to a memory area. Read from blob to get memory.
pub fn get_blob(&self) -> VipsBlob
Trait Implementations§
Source§impl Clone for VipsTarget
impl Clone for VipsTarget
Source§fn clone(&self) -> VipsTarget
fn clone(&self) -> VipsTarget
Returns a duplicate 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
Source§impl Drop for VipsTarget
impl Drop for VipsTarget
Source§impl From<*mut _VipsTarget> for VipsTarget
impl From<*mut _VipsTarget> for VipsTarget
Source§fn from(value: *mut VipsTarget) -> Self
fn from(value: *mut VipsTarget) -> Self
Converts to this type from the input type.
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