[][src]Struct web_sys::CaretStateChangedEventInit

#[repr(transparent)]pub struct CaretStateChangedEventInit { /* fields omitted */ }

The CaretStateChangedEventInit dictionary.

This API requires the following crate features to be activated: CaretStateChangedEventInit

Implementations

impl CaretStateChangedEventInit[src]

pub fn new() -> Self[src]

Construct a new CaretStateChangedEventInit.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn bubbles(&mut self, val: bool) -> &mut Self[src]

Change the bubbles field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn cancelable(&mut self, val: bool) -> &mut Self[src]

Change the cancelable field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn composed(&mut self, val: bool) -> &mut Self[src]

Change the composed field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn bounding_client_rect(
    &mut self,
    val: Option<&DomRectReadOnly>
) -> &mut Self
[src]

Change the boundingClientRect field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit, DomRectReadOnly

pub fn caret_visible(&mut self, val: bool) -> &mut Self[src]

Change the caretVisible field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn caret_visually_visible(&mut self, val: bool) -> &mut Self[src]

Change the caretVisuallyVisible field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn collapsed(&mut self, val: bool) -> &mut Self[src]

Change the collapsed field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn reason(&mut self, val: CaretChangedReason) -> &mut Self[src]

Change the reason field of this object.

This API requires the following crate features to be activated: CaretChangedReason, CaretStateChangedEventInit

pub fn selected_text_content(&mut self, val: &str) -> &mut Self[src]

Change the selectedTextContent field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn selection_editable(&mut self, val: bool) -> &mut Self[src]

Change the selectionEditable field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

pub fn selection_visible(&mut self, val: bool) -> &mut Self[src]

Change the selectionVisible field of this object.

This API requires the following crate features to be activated: CaretStateChangedEventInit

Trait Implementations

impl AsRef<CaretStateChangedEventInit> for CaretStateChangedEventInit[src]

impl AsRef<JsValue> for CaretStateChangedEventInit[src]

impl AsRef<Object> for CaretStateChangedEventInit[src]

impl Clone for CaretStateChangedEventInit[src]

impl Debug for CaretStateChangedEventInit[src]

impl Deref for CaretStateChangedEventInit[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for CaretStateChangedEventInit[src]

impl From<CaretStateChangedEventInit> for JsValue[src]

impl From<CaretStateChangedEventInit> for Object[src]

impl From<JsValue> for CaretStateChangedEventInit[src]

impl FromWasmAbi for CaretStateChangedEventInit[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for CaretStateChangedEventInit[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a CaretStateChangedEventInit[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for CaretStateChangedEventInit[src]

impl OptionFromWasmAbi for CaretStateChangedEventInit[src]

impl OptionIntoWasmAbi for CaretStateChangedEventInit[src]

impl<'a> OptionIntoWasmAbi for &'a CaretStateChangedEventInit[src]

impl PartialEq<CaretStateChangedEventInit> for CaretStateChangedEventInit[src]

impl RefFromWasmAbi for CaretStateChangedEventInit[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<CaretStateChangedEventInit>

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. Read more

impl StructuralEq for CaretStateChangedEventInit[src]

impl StructuralPartialEq for CaretStateChangedEventInit[src]

impl WasmDescribe for CaretStateChangedEventInit[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.