[][src]Struct ttspico::Resource

pub struct Resource { /* fields omitted */ }

A loaded Pico TTS resource (TA or SG).

Methods

impl Resource[src]

pub fn sys(&self) -> Rc<RefCell<System>>[src]

Returns a reference to the parent System that loaded this resource.

pub fn name(&self) -> Result<&str, Utf8Error>[src]

Returns the resource's internal name (if it can be converted to UTF-8).

Trait Implementations

impl Send for Resource[src]

impl Drop for Resource[src]

impl Eq for Resource[src]

impl PartialEq<Resource> for Resource[src]

impl Debug for Resource[src]

Auto Trait Implementations

impl !Sync for Resource

impl Unpin for Resource

impl !UnwindSafe for Resource

impl !RefUnwindSafe for Resource

Blanket Implementations

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

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

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

type Error = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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