Skip to main content

DateTimePartsArraySlotsExt

Trait DateTimePartsArraySlotsExt 

Source
pub trait DateTimePartsArraySlotsExt: TypedArrayRef<DateTimeParts> {
    // Provided methods
    fn days(&self) -> &ArrayRef { ... }
    fn seconds(&self) -> &ArrayRef { ... }
    fn subseconds(&self) -> &ArrayRef { ... }
    fn slots_view(&self) -> DateTimePartsSlotsView<'_> { ... }
}
Expand description

Typed array accessors for DateTimeParts.

Provided Methods§

Source

fn days(&self) -> &ArrayRef

Source

fn seconds(&self) -> &ArrayRef

Source

fn subseconds(&self) -> &ArrayRef

Source

fn slots_view(&self) -> DateTimePartsSlotsView<'_>

Returns a borrowed view of all slots.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§