[][src]Struct ra_ap_ide::SourceChange

pub struct SourceChange {
    pub source_file_edits: Vec<SourceFileEdit, Global>,
    pub file_system_edits: Vec<FileSystemEdit, Global>,
    pub is_snippet: bool,
}

Fields

source_file_edits: Vec<SourceFileEdit, Global>file_system_edits: Vec<FileSystemEdit, Global>is_snippet: bool

Implementations

impl SourceChange[src]

pub fn from_edits(
    source_file_edits: Vec<SourceFileEdit, Global>,
    file_system_edits: Vec<FileSystemEdit, Global>
) -> SourceChange
[src]

Creates a new SourceChange with the given label from the edits.

Trait Implementations

impl Clone for SourceChange[src]

impl Debug for SourceChange[src]

impl Default for SourceChange[src]

impl From<FileSystemEdit> for SourceChange[src]

impl From<SourceFileEdit> for SourceChange[src]

impl From<Vec<SourceFileEdit, Global>> for SourceChange[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.