[][src]Struct handmade::text::Text

pub struct Text<'a> { /* fields omitted */ }

Implementations

impl<'a> Text<'a>[src]

pub fn new(page_props: &'a PageProps<'_>) -> Text<'a>[src]

pub fn new_with_map(
    page_props: &'a PageProps<'_>,
    imgs_map: Rc<ImagesMap<'a>>
) -> Text<'a>
[src]

pub fn new_with_dic_name(
    page_props: &'a PageProps<'_>,
    dic_name: &'a str
) -> Text<'a>
[src]

pub fn push_word(&mut self, s_word: &str)[src]

pub fn imgs_map(&self) -> &ImagesMap<'_>[src]

pub fn parse(&mut self, string: String)[src]

pub fn parse_str(&mut self, str: &str)[src]

pub fn print(&self)[src]

pub fn to_img(&mut self) -> Vec<RgbaImage>[src]

pub fn to_files(&mut self, files_name: Option<&str>)[src]

pub fn parse_to_png(&mut self, str: &str, files_name: Option<&str>)[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Text<'a>

impl<'a> !Send for Text<'a>

impl<'a> !Sync for Text<'a>

impl<'a> Unpin for Text<'a>

impl<'a> !UnwindSafe for Text<'a>

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> Pointable for T

type Init = T

The type for initializers.

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.