pub struct AutoResizeOptions { /* private fields */ }
Implementations§
Source§impl AutoResizeOptions
impl AutoResizeOptions
pub fn new( height: Option<bool>, horizontal: Option<bool>, vertical: Option<bool>, width: Option<bool>, ) -> AutoResizeOptions
pub fn height(self) -> Option<bool>
pub fn set_height(self, value: Option<bool>)
pub fn horizontal(self) -> Option<bool>
pub fn set_horizontal(self, value: Option<bool>)
pub fn vertical(self) -> Option<bool>
pub fn set_vertical(self, value: Option<bool>)
pub fn width(self) -> Option<bool>
pub fn set_width(self, value: Option<bool>)
Trait Implementations§
Source§impl Clone for AutoResizeOptions
impl Clone for AutoResizeOptions
Source§fn clone(&self) -> AutoResizeOptions
fn clone(&self) -> AutoResizeOptions
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 AutoResizeOptions
impl Debug for AutoResizeOptions
Source§impl Default for AutoResizeOptions
impl Default for AutoResizeOptions
Source§fn default() -> AutoResizeOptions
fn default() -> AutoResizeOptions
Returns the “default value” for a type. Read more
Source§impl From<AutoResizeOptions> for JsValue
impl From<AutoResizeOptions> for JsValue
Source§fn from(value: AutoResizeOptions) -> Self
fn from(value: AutoResizeOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AutoResizeOptions
impl FromWasmAbi for AutoResizeOptions
Source§impl IntoWasmAbi for AutoResizeOptions
impl IntoWasmAbi for AutoResizeOptions
Source§impl PartialEq for AutoResizeOptions
impl PartialEq for AutoResizeOptions
Source§impl RefFromWasmAbi for AutoResizeOptions
impl RefFromWasmAbi for AutoResizeOptions
Source§type Anchor = RcRef<AutoResizeOptions>
type Anchor = RcRef<AutoResizeOptions>
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 TryFromJsValue for AutoResizeOptions
impl TryFromJsValue for AutoResizeOptions
Source§impl VectorFromWasmAbi for AutoResizeOptions
impl VectorFromWasmAbi for AutoResizeOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AutoResizeOptions]>
Source§impl VectorIntoJsValue for AutoResizeOptions
impl VectorIntoJsValue for AutoResizeOptions
fn vector_into_jsvalue(vector: Box<[AutoResizeOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for AutoResizeOptions
impl VectorIntoWasmAbi for AutoResizeOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AutoResizeOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for AutoResizeOptions
impl WasmDescribeVector for AutoResizeOptions
impl Copy for AutoResizeOptions
impl Eq for AutoResizeOptions
impl StructuralPartialEq for AutoResizeOptions
impl SupportsConstructor for AutoResizeOptions
impl SupportsInstanceProperty for AutoResizeOptions
impl SupportsStaticProperty for AutoResizeOptions
Auto Trait Implementations§
impl Freeze for AutoResizeOptions
impl RefUnwindSafe for AutoResizeOptions
impl Send for AutoResizeOptions
impl Sync for AutoResizeOptions
impl Unpin for AutoResizeOptions
impl UnwindSafe for AutoResizeOptions
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
.