pub struct Sheets { /* private fields */ }Expand description
The sheets backend’s state: workbooks, views, and the artifacts its views show.
Implementations§
Trait Implementations§
Source§impl NativeBackend for Sheets
impl NativeBackend for Sheets
Source§fn event(&mut self, ev: &Value, out: &Outbox)
fn event(&mut self, ev: &Value, out: &Outbox)
An
event (event: client, view, web, or a subscribed engine event).Source§fn request(
&mut self,
method: &str,
params: &Value,
_out: &Outbox,
) -> Result<Value, String>
fn request( &mut self, method: &str, params: &Value, _out: &Outbox, ) -> Result<Value, String>
A
request (method: tool, view, hook, web): its reply’s result, or the
error text. Messages sent through out meanwhile reach byob before the reply.Source§fn after_request(&mut self, method: &str, out: &Outbox)
fn after_request(&mut self, method: &str, out: &Outbox)
After the reply to a request went out (e.g. draw views again after a tool call).
Auto Trait Implementations§
impl Forget for Sheets
impl Freeze for Sheetswhere
*const LeafNode<String, Entry> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Entry)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<(PathBuf, Book)>: Freeze,
PhantomData<(PathBuf, Option<(PathBuf, u64, i128)>, Book)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
*const LeafNode<String, ViewState> is !null: Freeze,
PhantomData<Box<(String, ViewState)>>: Freeze,
PhantomData<(String, Value)>: Freeze,
impl Move for Sheets
impl RefUnwindSafe for Sheets
impl Send for Sheetswhere
NodeRef<Owned, String, Entry, LeafOrInternal>: Send,
BoxRaw<(String, Entry)>: Send,
RawVecInner: Send,
BoxRaw<Chunk>: Send,
RawTable<((i32, i32), Link)>: Send,
RawTable<(String, Table)>: Send,
Arc<Node>: Send,
RawTable<((Option<u32>, String), ParsedDefinedName)>: Send,
RawTable<(String, usize)>: Send,
&'static Locale: Send,
&'static Language: Send,
RawTable<(usize, CalcResult)>: Send,
RawTable<(usize, (Vec<NamedVariable>, Node))>: Send,
RawTable<((u32, i32, i32), CellState)>: Send,
RawTable<((u32, i32, i32), ())>: Send,
RawTable<((u32, i32, i32), SeenRecord)>: Send,
RawTable<((u32, i32, i32), Vec<CfCellResult>)>: Send,
RawTable<((u32, i32, i32), Link)>: Send,
RawTable<(String, i32)>: Send,
NodeRef<Owned, String, ViewState, LeafOrInternal>: Send,
BoxRaw<(String, ViewState)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
impl Sync for Sheetswhere
NodeRef<Owned, String, Entry, LeafOrInternal>: Sync,
BoxRaw<(String, Entry)>: Sync,
RawVecInner: Sync,
BoxRaw<Chunk>: Sync,
RawTable<((i32, i32), Link)>: Sync,
RawTable<(String, Table)>: Sync,
Arc<Node>: Sync,
RawTable<((Option<u32>, String), ParsedDefinedName)>: Sync,
RawTable<(String, usize)>: Sync,
RawTable<(usize, CalcResult)>: Sync,
RawTable<(usize, (Vec<NamedVariable>, Node))>: Sync,
RawTable<((u32, i32, i32), CellState)>: Sync,
RawTable<((u32, i32, i32), ())>: Sync,
RawTable<((u32, i32, i32), SeenRecord)>: Sync,
RawTable<((u32, i32, i32), Vec<CfCellResult>)>: Sync,
RawTable<((u32, i32, i32), Link)>: Sync,
RawTable<(String, i32)>: Sync,
NodeRef<Owned, String, ViewState, LeafOrInternal>: Sync,
BoxRaw<(String, ViewState)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
impl Unpin for Sheetswhere
*const LeafNode<String, Entry> is !null: Unpin,
Box<(String, Entry)>: Unpin,
*const u8 is !null: Unpin,
Box<Chunk>: Unpin,
Arc<Node>: Unpin,
Box<Node>: Unpin,
&'static Locale: Unpin,
&'static Language: Unpin,
*const LeafNode<String, ViewState> is !null: Unpin,
Box<(String, ViewState)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
impl UnsafeUnpin for Sheetswhere
*const LeafNode<String, Entry> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Entry)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(PathBuf, Book)>: UnsafeUnpin,
PhantomData<(PathBuf, Option<(PathBuf, u64, i128)>, Book)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
*const LeafNode<String, ViewState> is !null: UnsafeUnpin,
PhantomData<Box<(String, ViewState)>>: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
impl UnwindSafe for Sheetswhere
BTreeMap<String, Entry>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<Chunk>: UnwindSafe,
HashMap<(i32, i32), Link>: UnwindSafe,
HashMap<String, Table>: UnwindSafe,
Arc<Node>: UnwindSafe,
HashMap<(Option<u32>, String), ParsedDefinedName>: UnwindSafe,
HashMap<String, usize>: UnwindSafe,
&'static Locale: UnwindSafe,
&'static Language: UnwindSafe,
HashMap<usize, CalcResult>: UnwindSafe,
HashMap<usize, (Vec<NamedVariable>, Node)>: UnwindSafe,
HashMap<(u32, i32, i32), CellState, BuildHasherDefault<KeyHasher>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
HashMap<(u32, i32, i32), SeenRecord, BuildHasherDefault<KeyHasher>>: UnwindSafe,
HashMap<(u32, i32, i32), Vec<CfCellResult>>: UnwindSafe,
HashMap<(u32, i32, i32), Link>: UnwindSafe,
HashMap<String, i32>: UnwindSafe,
BTreeMap<String, ViewState>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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