[][src]Struct web_sys::DateTimeValue

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

The DateTimeValue dictionary.

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

Methods

impl DateTimeValue[src]

pub fn new() -> Self[src]

Construct a new DateTimeValue.

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

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

Change the day field of this object.

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

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

Change the hour field of this object.

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

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

Change the minute field of this object.

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

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

Change the month field of this object.

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

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

Change the year field of this object.

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

Trait Implementations

impl AsRef<DateTimeValue> for DateTimeValue[src]

impl AsRef<JsValue> for DateTimeValue[src]

impl AsRef<Object> for DateTimeValue[src]

impl Clone for DateTimeValue[src]

impl Debug for DateTimeValue[src]

impl Deref for DateTimeValue[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for DateTimeValue[src]

impl From<DateTimeValue> for JsValue[src]

impl From<DateTimeValue> for Object[src]

impl From<JsValue> for DateTimeValue[src]

impl FromWasmAbi for DateTimeValue[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 DateTimeValue[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 DateTimeValue[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 DateTimeValue[src]

impl OptionFromWasmAbi for DateTimeValue[src]

impl OptionIntoWasmAbi for DateTimeValue[src]

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

impl PartialEq<DateTimeValue> for DateTimeValue[src]

impl RefFromWasmAbi for DateTimeValue[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<DateTimeValue>

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 DateTimeValue[src]

impl StructuralPartialEq for DateTimeValue[src]

impl WasmDescribe for DateTimeValue[src]

Auto Trait Implementations

impl RefUnwindSafe for DateTimeValue

impl !Send for DateTimeValue

impl !Sync for DateTimeValue

impl Unpin for DateTimeValue

impl UnwindSafe for DateTimeValue

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.