pub struct DataSource {
pub get_rows: Function,
}
Expand description
A struct passed to the JavaScript grid which is used by AG Grid to fetch the requested data from the server.
Fields§
§get_rows: Function
Trait Implementations§
Source§impl From<DataSource> for JsValue
impl From<DataSource> for JsValue
Source§fn from(value: DataSource) -> Self
fn from(value: DataSource) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DataSource
impl FromWasmAbi for DataSource
Source§impl IntoWasmAbi for DataSource
impl IntoWasmAbi for DataSource
Source§impl LongRefFromWasmAbi for DataSource
impl LongRefFromWasmAbi for DataSource
Source§impl OptionFromWasmAbi for DataSource
impl OptionFromWasmAbi for DataSource
Source§impl OptionIntoWasmAbi for DataSource
impl OptionIntoWasmAbi for DataSource
Source§impl RefFromWasmAbi for DataSource
impl RefFromWasmAbi for DataSource
Source§type Anchor = RcRef<DataSource>
type Anchor = RcRef<DataSource>
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.Source§impl RefMutFromWasmAbi for DataSource
impl RefMutFromWasmAbi for DataSource
Source§impl ToJsValue for DataSource
impl ToJsValue for DataSource
Source§fn to_js_value(&self) -> JsValue
fn to_js_value(&self) -> JsValue
Convert the current type to a
wasm_bindgen::JsValue
;Source§impl TryFromJsValue for DataSource
impl TryFromJsValue for DataSource
Source§impl VectorFromWasmAbi for DataSource
impl VectorFromWasmAbi for DataSource
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[DataSource]>
Source§impl VectorIntoJsValue for DataSource
impl VectorIntoJsValue for DataSource
fn vector_into_jsvalue(vector: Box<[DataSource]>) -> JsValue
Source§impl VectorIntoWasmAbi for DataSource
impl VectorIntoWasmAbi for DataSource
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[DataSource]>) -> Self::Abi
Source§impl WasmDescribeVector for DataSource
impl WasmDescribeVector for DataSource
impl SupportsConstructor for DataSource
impl SupportsInstanceProperty for DataSource
impl SupportsStaticProperty for DataSource
Auto Trait Implementations§
impl Freeze for DataSource
impl RefUnwindSafe for DataSource
impl !Send for DataSource
impl !Sync for DataSource
impl Unpin for DataSource
impl UnwindSafe for DataSource
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> 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::Abi
Source§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
.