pub enum FoldKind {
Block,
Region,
Brackets,
}Expand description
What a fold range corresponds to.
Variants§
Block
An indented block body.
Region
A #region…#endregion pair.
Brackets
A multi-line bracketed span.
Trait Implementations§
impl Copy for FoldKind
Source§impl<'de> Deserialize<'de> for FoldKind
impl<'de> Deserialize<'de> for FoldKind
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
impl Eq for FoldKind
impl StructuralPartialEq for FoldKind
Auto Trait Implementations§
impl Freeze for FoldKind
impl RefUnwindSafe for FoldKind
impl Send for FoldKind
impl Sync for FoldKind
impl Unpin for FoldKind
impl UnsafeUnpin for FoldKind
impl UnwindSafe for FoldKind
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