pub struct FocusInfo {
pub scalar: Option<ScalarWrite>,
pub scalars: Vec<ScalarWrite>,
pub docs: Vec<String>,
pub blocks: Vec<String>,
pub paths: Vec<String>,
pub retires_docs: Vec<String>,
pub retires_blocks: Vec<String>,
pub retires_paths: Vec<String>,
pub whole_doc: Option<String>,
}Expand description
What one effect addresses and retires (§11.3): the planner computes it
against its trees and the store, the ConflictTracker judges it.
Fields§
§scalar: Option<ScalarWrite>§scalars: Vec<ScalarWrite>Every (block, markdown) focus of a retarget (never deduped).
docs: Vec<String>The documents, blocks and paths the effect addresses.
blocks: Vec<String>§paths: Vec<String>§retires_docs: Vec<String>What later effects may no longer address.
retires_blocks: Vec<String>§retires_paths: Vec<String>§whole_doc: Option<String>set document.content: the whole document is rewritten.
Trait Implementations§
impl StructuralPartialEq for FocusInfo
Auto Trait Implementations§
impl Freeze for FocusInfo
impl RefUnwindSafe for FocusInfo
impl Send for FocusInfo
impl Sync for FocusInfo
impl Unpin for FocusInfo
impl UnsafeUnpin for FocusInfo
impl UnwindSafe for FocusInfo
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