pub struct Region {
pub id: u32,
pub parent: u32,
pub fold_state_id: u32,
pub range: Range,
pub tags: Vec<String>,
pub visibility: Visibility,
pub kind: Kind,
}Expand description
One region of a side’s tree.
Fields§
§id: u32Unique across both sides of the file, never 0.
parent: u32The fold that holds this region, or 0 (the file) for a top-level region.
fold_state_id: u32Regions sharing it open and close together, on either side.
range: RangeThe tags the fold queries set, <plugin>:<name>.
visibility: Visibility§kind: KindTrait Implementations§
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnsafeUnpin for Region
impl UnwindSafe for Region
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