Enum languageserver_types::FoldingRangeKind [−][src]
pub enum FoldingRangeKind { Comment, Imports, Region, }
Enum of known range kinds
Variants
Comment
Folding range for a comment
Imports
Folding range for a imports or includes
Region
Folding range for a region (e.g. #region
)
Trait Implementations
impl Debug for FoldingRangeKind
[src]
impl Debug for FoldingRangeKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for FoldingRangeKind
[src]
impl Eq for FoldingRangeKind
impl PartialEq for FoldingRangeKind
[src]
impl PartialEq for FoldingRangeKind
fn eq(&self, other: &FoldingRangeKind) -> bool
[src]
fn eq(&self, other: &FoldingRangeKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for FoldingRangeKind
[src]
impl Clone for FoldingRangeKind
fn clone(&self) -> FoldingRangeKind
[src]
fn clone(&self) -> FoldingRangeKind
Returns 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 FoldingRangeKind
impl Sync for FoldingRangeKind
impl Sync for FoldingRangeKind