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 Freeze for Live
impl RefUnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnsafeUnpin for Live
impl UnwindSafe for Live
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