[][src]Struct folia::text::TextParameters

pub struct TextParameters {
    pub set: Option<String>,
    pub textclass: Option<String>,
    pub strict: bool,
    pub retaintokenisation: bool,
}

Parameters for the text() method

Fields

set: Option<String>textclass: Option<String>strict: boolretaintokenisation: bool

Implementations

impl TextParameters[src]

pub fn new() -> Self[src]

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

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

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

Trait Implementations

impl Clone for TextParameters[src]

impl<'a> Default for TextParameters[src]

Auto Trait Implementations

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,