[−][src]Struct n5_wasm::wrapped::DatasetAttributes
Methods
impl DatasetAttributes
[src]
impl DatasetAttributes
pub fn get_dimensions(&self) -> Vec<i64> | [src] |
pub fn get_block_size(&self) -> Vec<i32> | [src] |
pub fn get_data_type(&self) -> String | [src] |
pub fn get_compression(&self) -> String | [src] |
pub fn get_ndim(&self) -> usize | [src] |
pub fn get_num_elements(&self) -> usize | [src] |
Get the total number of elements possible given the dimensions.
pub fn get_block_num_elements(&self) -> usize | [src] |
Get the total number of elements possible in a block.
Trait Implementations
impl From<DatasetAttributes> for JsValue
[src]
impl From<DatasetAttributes> for JsValue
fn from(_value: DatasetAttributes) -> Self | [src] |
impl IntoWasmAbi for DatasetAttributes
[src]
impl IntoWasmAbi for DatasetAttributes
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, _extra: &mut dyn Stack) -> u32 | [src] |
impl FromWasmAbi for DatasetAttributes
[src]
impl FromWasmAbi for DatasetAttributes
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32, _extra: &mut dyn Stack) -> Self | [src] |
impl WasmDescribe for DatasetAttributes
[src]
impl WasmDescribe for DatasetAttributes
impl RefFromWasmAbi for DatasetAttributes
[src]
impl RefFromWasmAbi for DatasetAttributes
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, DatasetAttributes>
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
unsafe fn ref_from_abi(js: Self::Abi, _extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl RefMutFromWasmAbi for DatasetAttributes
[src]
impl RefMutFromWasmAbi for DatasetAttributes
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, DatasetAttributes>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi( | [src] |
Auto Trait Implementations
impl Send for DatasetAttributes
impl Send for DatasetAttributes
impl Sync for DatasetAttributes
impl Sync for DatasetAttributes
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |