pub struct ReviewState {
pub reviewed_classes: BTreeSet<String>,
pub cursor: Option<(String, usize)>,
pub split_diff: bool,
pub file_view: bool,
}Fields§
§reviewed_classes: BTreeSet<String>Class content keys marked reviewed.
cursor: Option<(String, usize)>Resume position: (group id or file path, row offset) in the last-open plan — a group id in the semantic view, a file path in the file view.
split_diff: boolSide-by-side diff layout (default: unified).
file_view: boolFlattened per-file view instead of semantic groups (default: groups).
Trait Implementations§
Source§impl Clone for ReviewState
impl Clone for ReviewState
Source§fn clone(&self) -> ReviewState
fn clone(&self) -> ReviewState
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 Debug for ReviewState
impl Debug for ReviewState
Source§impl Default for ReviewState
impl Default for ReviewState
Source§fn default() -> ReviewState
fn default() -> ReviewState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReviewState
impl<'de> Deserialize<'de> for ReviewState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReviewState
impl RefUnwindSafe for ReviewState
impl Send for ReviewState
impl Sync for ReviewState
impl Unpin for ReviewState
impl UnsafeUnpin for ReviewState
impl UnwindSafe for ReviewState
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