pub struct Live {
pub serial: ReaderId,
pub source: Source,
pub reader: Option<Reader>,
pub scroll: Scroll,
pub window: Window,
/* private fields */
}Fields§
§serial: ReaderId§source: Source§reader: Option<Reader>§scroll: Scroll§window: WindowImplementations§
Source§impl Live
impl Live
pub fn new(serial: ReaderId, source: Source) -> Self
pub fn geometry(&mut self, width: usize, height: usize)
pub fn invalidate(&mut self)
Sourcepub fn refresh(&mut self, source: &Source) -> bool
pub fn refresh(&mut self, source: &Source) -> bool
Point this reader at a freshly resolved source. Of the same session it keeps its
position, follow state and expanded groups and reads again (true); another session
is not this reader’s (false, nothing changed).
pub fn toggle(&mut self, id: BlockId)
pub fn toggle_visible(&mut self)
pub fn movement(&mut self, movement: Move)
pub fn job(&mut self) -> Option<Job>
pub fn finish(&mut self, job: Job, window: Window)
pub fn indicator(&self) -> String
Auto Trait Implementations§
impl Forget for Live
impl Freeze for Livewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
I32NotAllOnes: Freeze,
PhantomData<(u64, usize)>: Freeze,
PhantomData<Text>: Freeze,
PhantomData<Rows>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Segment>: Freeze,
*const LeafNode<BlockId, Group> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(BlockId, Group)>>: Freeze,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: Freeze,
PhantomData<Box<((Option<usize>, Correlation), (BlockId, usize))>>: Freeze,
*const LeafNode<BlockId, SetValZST> is !null: Freeze,
PhantomData<Box<(BlockId, SetValZST)>>: Freeze,
*const LeafNode<String, OwnerValue> is !null: Freeze,
PhantomData<Box<(String, OwnerValue)>>: Freeze,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: Freeze,
PhantomData<Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>>: Freeze,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: Freeze,
PhantomData<Box<((Option<usize>, usize), SetValZST)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(usize, BlockId)>: Freeze,
impl Move for Live
impl RefUnwindSafe for Livewhere
I32NotAllOnes: RefUnwindSafe,
impl Send for Livewhere
RawVecInner: Send,
I32NotAllOnes: Send,
NodeRef<Owned, BlockId, Group, LeafOrInternal>: Send,
BoxRaw<(BlockId, Group)>: Send,
NodeRef<Owned, (Option<usize>, Correlation), (BlockId, usize), LeafOrInternal>: Send,
BoxRaw<((Option<usize>, Correlation), (BlockId, usize))>: Send,
NodeRef<Owned, BlockId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(BlockId, SetValZST)>: Send,
NodeRef<Owned, String, OwnerValue, LeafOrInternal>: Send,
BoxRaw<(String, OwnerValue)>: Send,
NodeRef<Owned, (Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock, LeafOrInternal>: Send,
BoxRaw<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Send,
NodeRef<Owned, (Option<usize>, usize), SetValZST, LeafOrInternal>: Send,
BoxRaw<((Option<usize>, usize), SetValZST)>: Send,
impl Sync for Livewhere
RawVecInner: Sync,
I32NotAllOnes: Sync,
NodeRef<Owned, BlockId, Group, LeafOrInternal>: Sync,
BoxRaw<(BlockId, Group)>: Sync,
NodeRef<Owned, (Option<usize>, Correlation), (BlockId, usize), LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, Correlation), (BlockId, usize))>: Sync,
NodeRef<Owned, BlockId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(BlockId, SetValZST)>: Sync,
NodeRef<Owned, String, OwnerValue, LeafOrInternal>: Sync,
BoxRaw<(String, OwnerValue)>: Sync,
NodeRef<Owned, (Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock, LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Sync,
NodeRef<Owned, (Option<usize>, usize), SetValZST, LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, usize), SetValZST)>: Sync,
impl Unpin for Livewhere
*const u8 is !null: Unpin,
I32NotAllOnes: Unpin,
*const LeafNode<BlockId, Group> is !null: Unpin,
Box<(BlockId, Group)>: Unpin,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: Unpin,
Box<((Option<usize>, Correlation), (BlockId, usize))>: Unpin,
*const LeafNode<BlockId, SetValZST> is !null: Unpin,
Box<(BlockId, SetValZST)>: Unpin,
*const LeafNode<String, OwnerValue> is !null: Unpin,
Box<(String, OwnerValue)>: Unpin,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: Unpin,
Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Unpin,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: Unpin,
Box<((Option<usize>, usize), SetValZST)>: Unpin,
impl UnsafeUnpin for Livewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
PhantomData<(u64, usize)>: UnsafeUnpin,
PhantomData<Text>: UnsafeUnpin,
PhantomData<Rows>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
*const LeafNode<BlockId, Group> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(BlockId, Group)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, Correlation), (BlockId, usize))>>: UnsafeUnpin,
*const LeafNode<BlockId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(BlockId, SetValZST)>>: UnsafeUnpin,
*const LeafNode<String, OwnerValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, OwnerValue)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, usize), SetValZST)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(usize, BlockId)>: UnsafeUnpin,
impl UnwindSafe for Livewhere
RawVecInner: UnwindSafe,
I32NotAllOnes: UnwindSafe,
BTreeMap<BlockId, Group>: UnwindSafe,
BTreeMap<(Option<usize>, Correlation), (BlockId, usize)>: UnwindSafe,
BTreeMap<BlockId, SetValZST>: UnwindSafe,
BTreeMap<String, OwnerValue>: UnwindSafe,
BTreeMap<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock>: UnwindSafe,
BTreeMap<(Option<usize>, usize), SetValZST>: 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