pub struct P;Trait Implementations§
Source§impl<X: GXExt> Package<X> for P
impl<X: GXExt> Package<X> for P
Source§fn register(
ctx: &mut ExecCtx<GXRt<X>, X::UserEvent>,
modules: &mut FxHashMap<Path, ArcStr>,
root_mods: &mut IndexSet<ArcStr>,
) -> Result<()>
fn register( ctx: &mut ExecCtx<GXRt<X>, X::UserEvent>, modules: &mut FxHashMap<Path, ArcStr>, root_mods: &mut IndexSet<ArcStr>, ) -> Result<()>
register builtins and return a resolver containing Graphix
code contained in the package. Read more
Source§fn is_custom(gx: &GXHandle<X>, env: &Env, e: &CompExp<X>) -> bool
fn is_custom(gx: &GXHandle<X>, env: &Env, e: &CompExp<X>) -> bool
Return true if the
CompExp matches the custom display type
of this package.Source§async fn init_custom(
gx: &GXHandle<X>,
env: &Env,
stop: Sender<()>,
e: CompExp<X>,
run_on_main: MainThreadHandle,
) -> Result<Box<dyn CustomDisplay<X>>>
async fn init_custom( gx: &GXHandle<X>, env: &Env, stop: Sender<()>, e: CompExp<X>, run_on_main: MainThreadHandle, ) -> Result<Box<dyn CustomDisplay<X>>>
Source§fn main_program() -> Option<&'static str>
fn main_program() -> Option<&'static str>
Return the main program source if this package has one and the
standalone feature is enabled.Auto Trait Implementations§
impl Freeze for P
impl RefUnwindSafe for P
impl Send for P
impl Sync for P
impl Unpin for P
impl UnsafeUnpin for P
impl UnwindSafe for P
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more