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