pub struct VdomFeature {
pub prefix: &'static str,
pub writers: &'static [&'static str],
}Expand description
A vdom.lg path only some pages take: every vdom.lg function named with prefix runs only on a
tape holding records one of writers laid down, so the module’s dead-code analysis follows a
call into it once a writer is reached (vm::reach) — a page that never calls a writer ships none
of the feature. A new function of the feature is pruned by being named for it.
Fields§
§prefix: &'static str§writers: &'static [&'static str]Trait Implementations§
Source§impl Clone for VdomFeature
impl Clone for VdomFeature
Source§fn clone(&self) -> VdomFeature
fn clone(&self) -> VdomFeature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VdomFeature
impl Debug for VdomFeature
impl Copy for VdomFeature
Auto Trait Implementations§
impl Freeze for VdomFeature
impl RefUnwindSafe for VdomFeature
impl Send for VdomFeature
impl Sync for VdomFeature
impl Unpin for VdomFeature
impl UnsafeUnpin for VdomFeature
impl UnwindSafe for VdomFeature
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.