pub struct DummyHost;Trait Implementations§
Source§impl Host for DummyHost
impl Host for DummyHost
fn scan_start(&mut self, _rel_id: i32) -> i32
fn scan_delta_start(&mut self, _rel_id: i32) -> i32
fn scan_next(&mut self, _iter_id: i32) -> i32
Source§fn merge_deltas(&mut self) -> i32
fn merge_deltas(&mut self) -> i32
Merges deltas and returns 1 if changes occurred, 0 otherwise.
fn scan_aggregate_start(&mut self, _rel_id: i32, _desc: Vec<i32>) -> i32
fn scan_index_start( &mut self, _rel_id: i32, _col_idx: i32, _val: HostVal, ) -> i32
fn get_col(&mut self, _ptr: i32, _idx: i32) -> HostVal
fn insert_begin(&mut self, _rel_id: i32)
fn insert_push(&mut self, _val: HostVal)
fn insert_end(&mut self)
fn const_number(&mut self, _n: i64) -> HostVal
fn const_float(&mut self, _bits: i64) -> HostVal
fn const_string(&mut self, _id: i32) -> HostVal
fn const_name(&mut self, _id: i32) -> HostVal
fn const_time(&mut self, _nanos: i64) -> HostVal
fn const_duration(&mut self, _nanos: i64) -> HostVal
fn val_add(&mut self, _a: HostVal, _b: HostVal) -> HostVal
fn val_sub(&mut self, _a: HostVal, _b: HostVal) -> HostVal
fn val_mul(&mut self, _a: HostVal, _b: HostVal) -> HostVal
fn val_div(&mut self, _a: HostVal, _b: HostVal) -> HostVal
fn val_sqrt(&mut self, _a: HostVal) -> HostVal
fn val_eq(&mut self, _a: HostVal, _b: HostVal) -> i32
fn val_neq(&mut self, _a: HostVal, _b: HostVal) -> i32
fn val_lt(&mut self, _a: HostVal, _b: HostVal) -> i32
fn val_le(&mut self, _a: HostVal, _b: HostVal) -> i32
fn val_gt(&mut self, _a: HostVal, _b: HostVal) -> i32
fn val_ge(&mut self, _a: HostVal, _b: HostVal) -> i32
fn str_concat(&mut self, _a: HostVal, _b: HostVal) -> HostVal
fn str_replace( &mut self, _s: HostVal, _old: HostVal, _new: HostVal, _count: HostVal, ) -> HostVal
fn val_to_string(&mut self, _val: HostVal) -> HostVal
Source§fn compound_begin(&mut self, _kind: i32)
fn compound_begin(&mut self, _kind: i32)
Begin building a compound value. kind: 0=List, 1=Pair, 2=Map, 3=Struct.
fn compound_push(&mut self, _val: HostVal)
fn compound_end(&mut self) -> HostVal
Source§fn compound_get(&mut self, _compound: HostVal, _key: HostVal) -> HostVal
fn compound_get(&mut self, _compound: HostVal, _key: HostVal) -> HostVal
Get element by index (list) or value by key (map/struct).
Source§fn compound_len(&mut self, _compound: HostVal) -> HostVal
fn compound_len(&mut self, _compound: HostVal) -> HostVal
Get length/size of compound, returned as a Number HostVal.
fn pair_first(&mut self, _compound: HostVal) -> HostVal
fn pair_second(&mut self, _compound: HostVal) -> HostVal
fn debuglog(&mut self, _val: HostVal)
Auto Trait Implementations§
impl Freeze for DummyHost
impl RefUnwindSafe for DummyHost
impl Send for DummyHost
impl Sync for DummyHost
impl Unpin for DummyHost
impl UnsafeUnpin for DummyHost
impl UnwindSafe for DummyHost
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> 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 more