Enum languageserver_types::FoldingRangeKind [−][src]
pub enum FoldingRangeKind {
Comment,
Imports,
Region,
}Enum of known range kinds
Variants
CommentFolding range for a comment
ImportsFolding range for a imports or includes
RegionFolding range for a region (e.g. #region)
Trait Implementations
impl Debug for FoldingRangeKind[src]
impl Debug for FoldingRangeKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for FoldingRangeKind[src]
impl Eq for FoldingRangeKindimpl PartialEq for FoldingRangeKind[src]
impl PartialEq for FoldingRangeKindfn eq(&self, other: &FoldingRangeKind) -> bool[src]
fn eq(&self, other: &FoldingRangeKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Clone for FoldingRangeKind[src]
impl Clone for FoldingRangeKindfn clone(&self) -> FoldingRangeKind[src]
fn clone(&self) -> FoldingRangeKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for FoldingRangeKind
impl Send for FoldingRangeKindimpl Sync for FoldingRangeKind
impl Sync for FoldingRangeKind