pub struct FoldingRange {
pub range: TextRange,
pub kind: FoldingRangeKind,
}Expand description
Foldable source span for editor consumers.
Args: None.
Returns: One semantic folding range and its category.
Fields§
§range: TextRange§kind: FoldingRangeKindTrait Implementations§
Source§impl Clone for FoldingRange
impl Clone for FoldingRange
Source§fn clone(&self) -> FoldingRange
fn clone(&self) -> FoldingRange
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 FoldingRange
impl Debug for FoldingRange
impl Eq for FoldingRange
Source§impl PartialEq for FoldingRange
impl PartialEq for FoldingRange
impl StructuralPartialEq for FoldingRange
Auto Trait Implementations§
impl Freeze for FoldingRange
impl RefUnwindSafe for FoldingRange
impl Send for FoldingRange
impl Sync for FoldingRange
impl Unpin for FoldingRange
impl UnsafeUnpin for FoldingRange
impl UnwindSafe for FoldingRange
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