Struct text_document::text_document::TextDocumentOption
source · [−]pub struct TextDocumentOption {
pub tabs: Vec<Tab>,
pub text_direction: TextDirection,
pub wrap_mode: WrapMode,
}Fields
tabs: Vec<Tab>text_direction: TextDirectionwrap_mode: WrapModeTrait Implementations
sourceimpl Clone for TextDocumentOption
impl Clone for TextDocumentOption
sourcefn clone(&self) -> TextDocumentOption
fn clone(&self) -> TextDocumentOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TextDocumentOption
impl Debug for TextDocumentOption
sourceimpl Default for TextDocumentOption
impl Default for TextDocumentOption
sourcefn default() -> TextDocumentOption
fn default() -> TextDocumentOption
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TextDocumentOption> for TextDocumentOption
impl PartialEq<TextDocumentOption> for TextDocumentOption
sourcefn eq(&self, other: &TextDocumentOption) -> bool
fn eq(&self, other: &TextDocumentOption) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TextDocumentOption) -> bool
fn ne(&self, other: &TextDocumentOption) -> bool
This method tests for !=.
impl StructuralPartialEq for TextDocumentOption
Auto Trait Implementations
impl RefUnwindSafe for TextDocumentOption
impl Send for TextDocumentOption
impl Sync for TextDocumentOption
impl Unpin for TextDocumentOption
impl UnwindSafe for TextDocumentOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more