pub struct ToBitmapOptions { /* private fields */ }
Implementations§
Source§impl ToBitmapOptions
impl ToBitmapOptions
pub fn new(scale_factor: Option<f32>) -> ToBitmapOptions
pub fn scale_factor(self) -> Option<f32>
pub fn set_scale_factor(self, value: Option<f32>)
Trait Implementations§
Source§impl Clone for ToBitmapOptions
impl Clone for ToBitmapOptions
Source§fn clone(&self) -> ToBitmapOptions
fn clone(&self) -> ToBitmapOptions
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 ToBitmapOptions
impl Debug for ToBitmapOptions
Source§impl Default for ToBitmapOptions
impl Default for ToBitmapOptions
Source§fn default() -> ToBitmapOptions
fn default() -> ToBitmapOptions
Returns the “default value” for a type. Read more
Source§impl From<ToBitmapOptions> for JsValue
impl From<ToBitmapOptions> for JsValue
Source§fn from(value: ToBitmapOptions) -> Self
fn from(value: ToBitmapOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ToBitmapOptions
impl FromWasmAbi for ToBitmapOptions
Source§impl IntoWasmAbi for ToBitmapOptions
impl IntoWasmAbi for ToBitmapOptions
Source§impl LongRefFromWasmAbi for ToBitmapOptions
impl LongRefFromWasmAbi for ToBitmapOptions
Source§impl OptionFromWasmAbi for ToBitmapOptions
impl OptionFromWasmAbi for ToBitmapOptions
Source§impl OptionIntoWasmAbi for ToBitmapOptions
impl OptionIntoWasmAbi for ToBitmapOptions
Source§impl PartialEq for ToBitmapOptions
impl PartialEq for ToBitmapOptions
Source§impl PartialOrd for ToBitmapOptions
impl PartialOrd for ToBitmapOptions
Source§impl RefFromWasmAbi for ToBitmapOptions
impl RefFromWasmAbi for ToBitmapOptions
Source§type Anchor = RcRef<ToBitmapOptions>
type Anchor = RcRef<ToBitmapOptions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for ToBitmapOptions
impl RefMutFromWasmAbi for ToBitmapOptions
Source§impl TryFromJsValue for ToBitmapOptions
impl TryFromJsValue for ToBitmapOptions
Source§impl VectorFromWasmAbi for ToBitmapOptions
impl VectorFromWasmAbi for ToBitmapOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ToBitmapOptions]>
Source§impl VectorIntoJsValue for ToBitmapOptions
impl VectorIntoJsValue for ToBitmapOptions
fn vector_into_jsvalue(vector: Box<[ToBitmapOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for ToBitmapOptions
impl VectorIntoWasmAbi for ToBitmapOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ToBitmapOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for ToBitmapOptions
impl WasmDescribeVector for ToBitmapOptions
impl Copy for ToBitmapOptions
impl StructuralPartialEq for ToBitmapOptions
impl SupportsConstructor for ToBitmapOptions
impl SupportsInstanceProperty for ToBitmapOptions
impl SupportsStaticProperty for ToBitmapOptions
Auto Trait Implementations§
impl Freeze for ToBitmapOptions
impl RefUnwindSafe for ToBitmapOptions
impl Send for ToBitmapOptions
impl Sync for ToBitmapOptions
impl Unpin for ToBitmapOptions
impl UnwindSafe for ToBitmapOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.