Struct sourceview5::SnippetChunkBuilder[][src]

pub struct SnippetChunkBuilder { /* fields omitted */ }

Implementations

impl SnippetChunkBuilder[src]

pub fn new() -> Self[src]

pub fn build(self) -> SnippetChunk[src]

pub fn context(self, context: &SnippetContext) -> Self[src]

pub fn focus_position(self, focus_position: i32) -> Self[src]

pub fn spec(self, spec: &str) -> Self[src]

pub fn text(self, text: &str) -> Self[src]

pub fn text_set(self, text_set: bool) -> Self[src]

pub fn tooltip_text(self, tooltip_text: &str) -> Self[src]

Trait Implementations

impl Clone for SnippetChunkBuilder[src]

impl Default for SnippetChunkBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for SnippetChunkBuilder

impl !Send for SnippetChunkBuilder

impl !Sync for SnippetChunkBuilder

impl Unpin for SnippetChunkBuilder

impl UnwindSafe for SnippetChunkBuilder

Blanket Implementations

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

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

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

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

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

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.