pub struct RebuildSpec {
pub head: Option<usize>,
pub tail: Option<usize>,
}Expand description
Constraints to re-apply when the source content has been replaced wholesale
(--live). The line index is rebuilt from scratch each time, so caps that
were originally honored at startup need to be reasserted.
Fields§
§head: Option<usize>§tail: Option<usize>Trait Implementations§
Source§impl Clone for RebuildSpec
impl Clone for RebuildSpec
Source§fn clone(&self) -> RebuildSpec
fn clone(&self) -> RebuildSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RebuildSpec
impl Default for RebuildSpec
Source§fn default() -> RebuildSpec
fn default() -> RebuildSpec
Returns the “default value” for a type. Read more
impl Copy for RebuildSpec
Auto Trait Implementations§
impl Freeze for RebuildSpec
impl RefUnwindSafe for RebuildSpec
impl Send for RebuildSpec
impl Sync for RebuildSpec
impl Unpin for RebuildSpec
impl UnsafeUnpin for RebuildSpec
impl UnwindSafe for RebuildSpec
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