Skip to main content

ExtensionArraySlotsExt

Trait ExtensionArraySlotsExt 

Source
pub trait ExtensionArraySlotsExt: TypedArrayRef<Extension> {
    // Provided methods
    fn storage(&self) -> &ArrayRef { ... }
    fn slots_view(&self) -> ExtensionSlotsView<'_> { ... }
}
Expand description

Typed array accessors for Extension.

Provided Methods§

Source

fn storage(&self) -> &ArrayRef

Source

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

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§