pub enum BufferKind {
Scratch,
File {
path: Arc<Utf8Path>,
on_disk: Rope,
},
}Variants§
Trait Implementations§
Source§impl Clone for BufferKind
impl Clone for BufferKind
Source§fn clone(&self) -> BufferKind
fn clone(&self) -> BufferKind
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 Default for BufferKind
impl Default for BufferKind
Source§fn default() -> BufferKind
fn default() -> BufferKind
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BufferKind
impl RefUnwindSafe for BufferKind
impl Send for BufferKind
impl Sync for BufferKind
impl Unpin for BufferKind
impl UnsafeUnpin for BufferKind
impl UnwindSafe for BufferKind
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