[][src]Struct sixtyfps_compilerlib::typeloader::TypeLoader

pub struct TypeLoader<'a> {
    pub global_type_registry: &'a Rc<RefCell<TypeRegister>>,
    pub compiler_config: &'a CompilerConfiguration,
    pub builtin_library: Option<&'a VirtualDirectory<'a>>,
    // some fields omitted
}

Fields

global_type_registry: &'a Rc<RefCell<TypeRegister>>compiler_config: &'a CompilerConfigurationbuiltin_library: Option<&'a VirtualDirectory<'a>>

Implementations

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

pub fn new(
    global_type_registry: &'a Rc<RefCell<TypeRegister>>,
    compiler_config: &'a CompilerConfiguration,
    builtin_library: Option<&'a VirtualDirectory<'a>>
) -> Self
[src]

pub async fn load_dependencies_recursively<'_, '_, '_, '_, '_>(
    &'_ mut self,
    doc: &'_ Document,
    diagnostics: &'_ mut FileDiagnostics,
    build_diagnostics: &'_ mut BuildDiagnostics,
    registry_to_populate: &'_ Rc<RefCell<TypeRegister>>
)
[src]

pub async fn import_type<'_, '_, '_, '_, '_>(
    &'_ mut self,
    file_to_import: &'_ str,
    type_name: &'_ str,
    diagnostics: &'_ mut FileDiagnostics,
    build_diagnostics: &'_ mut BuildDiagnostics
) -> Option<Type>
[src]

Auto Trait Implementations

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

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

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

impl<'a> Unpin for TypeLoader<'a>

impl<'a> !UnwindSafe for TypeLoader<'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, 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.