pub struct View(/* private fields */);Implementations§
Source§impl View
impl View
pub async fn column_paths(&self) -> ApiResult<JsValue>
pub async fn delete(&self) -> ApiResult<()>
pub async fn dimensions(&self) -> ApiResult<JsValue>
pub async fn expression_schema(&self) -> ApiResult<JsValue>
pub async fn get_config(&self) -> ApiResult<JsValue>
pub async fn get_min_max(&self, name: String) -> ApiResult<Array>
pub async fn num_rows(&self) -> ApiResult<i32>
pub async fn schema(&self) -> ApiResult<JsValue>
pub async fn to_arrow( &self, window: Option<JsViewWindow>, ) -> ApiResult<ArrayBuffer>
pub async fn to_columns_string( &self, window: Option<JsViewWindow>, ) -> ApiResult<String>
pub async fn to_columns( &self, window: Option<JsViewWindow>, ) -> ApiResult<Object>
pub async fn to_json_string( &self, window: Option<JsViewWindow>, ) -> ApiResult<String>
pub async fn to_json(&self, window: Option<JsViewWindow>) -> ApiResult<Array>
pub async fn to_ndjson(&self, window: Option<JsViewWindow>) -> ApiResult<String>
pub async fn to_csv(&self, window: Option<JsViewWindow>) -> ApiResult<String>
pub async fn on_update( &self, on_update_js: Function, options: Option<JsOnUpdateOptions>, ) -> ApiResult<u32>
pub async fn remove_update(&self, callback_id: u32) -> ApiResult<()>
pub async fn on_delete(&self, on_delete: Function) -> ApiResult<u32>
pub async fn num_columns(&self) -> ApiResult<u32>
pub fn remove_delete(&self, callback_id: u32) -> ApiFuture<()>
pub async fn collapse(&self, row_index: u32) -> ApiResult<u32>
pub async fn expand(&self, row_index: u32) -> ApiResult<u32>
pub async fn set_depth(&self, depth: u32) -> ApiResult<()>
Trait Implementations§
Source§impl FromWasmAbi for View
impl FromWasmAbi for View
Source§impl IntoWasmAbi for View
impl IntoWasmAbi for View
Source§impl LongRefFromWasmAbi for View
impl LongRefFromWasmAbi for View
Source§impl OptionFromWasmAbi for View
impl OptionFromWasmAbi for View
Source§impl OptionIntoWasmAbi for View
impl OptionIntoWasmAbi for View
Source§impl RefFromWasmAbi for View
impl RefFromWasmAbi for View
Source§impl RefMutFromWasmAbi for View
impl RefMutFromWasmAbi for View
Source§impl TryFromJsValue for View
impl TryFromJsValue for View
Source§impl VectorFromWasmAbi for View
impl VectorFromWasmAbi for View
Source§impl VectorIntoWasmAbi for View
impl VectorIntoWasmAbi for View
Auto Trait Implementations§
impl Freeze for View
impl !RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl !UnwindSafe for View
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.