pub struct ImagesBinding(/* private fields */);Implementations§
Source§impl ImagesBinding
impl ImagesBinding
pub async fn transform(&self, input: JsValue) -> Result<JsValue>
pub async fn transform_json<T: Serialize, U: DeserializeOwned>( &self, input: T, ) -> Result<U>
pub async fn info( &self, input: JsValue, options: Option<JsValue>, ) -> Result<JsValue>
pub async fn info_json<T: Serialize, U: DeserializeOwned>( &self, input: T, options: Option<Value>, ) -> Result<U>
pub fn input( &self, input: JsValue, options: Option<JsValue>, ) -> Result<ImageTransformer>
pub fn input_json<T: Serialize>( &self, input: T, options: Option<Value>, ) -> Result<ImageTransformer>
Trait Implementations§
Source§impl AsRef<JsValue> for ImagesBinding
impl AsRef<JsValue> for ImagesBinding
Source§impl Clone for ImagesBinding
impl Clone for ImagesBinding
Source§fn clone(&self) -> ImagesBinding
fn clone(&self) -> ImagesBinding
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 ImagesBinding
impl Debug for ImagesBinding
Source§impl EnvBinding for ImagesBinding
impl EnvBinding for ImagesBinding
Source§impl From<ImagesBinding> for JsValue
impl From<ImagesBinding> for JsValue
Source§fn from(value: ImagesBinding) -> Self
fn from(value: ImagesBinding) -> Self
Converts to this type from the input type.
Source§impl From<JsValue> for ImagesBinding
impl From<JsValue> for ImagesBinding
Source§impl JsCast for ImagesBinding
impl JsCast for ImagesBinding
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value has a type
T. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified
type. Read more
impl Send for ImagesBinding
impl Sync for ImagesBinding
Auto Trait Implementations§
impl Freeze for ImagesBinding
impl RefUnwindSafe for ImagesBinding
impl Unpin for ImagesBinding
impl UnsafeUnpin for ImagesBinding
impl UnwindSafe for ImagesBinding
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