#[non_exhaustive]pub struct PlannedFeature {
pub name: String,
pub selectors: Vec<String>,
pub after: Vec<String>,
}Expand description
One feature as a configuration holds it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe feature.
selectors: Vec<String>The selectors whose entries the feature is saved under, outermost first: a selector that selects another comes before it. Empty for a feature no selector selects.
after: Vec<String>The features in the plan that a restore writes before this one,
because writing them can change this one: its selector, the provider
of its pIsAvailable/pIsLocked, a feature its bounds or address are
computed from. Features that depend on each other in a cycle — Width
and OffsetX bound each other — keep document order between them.
Trait Implementations§
Source§impl Clone for PlannedFeature
impl Clone for PlannedFeature
Source§impl Debug for PlannedFeature
impl Debug for PlannedFeature
impl Eq for PlannedFeature
Source§impl PartialEq for PlannedFeature
impl PartialEq for PlannedFeature
impl StructuralPartialEq for PlannedFeature
Auto Trait Implementations§
impl Freeze for PlannedFeature
impl RefUnwindSafe for PlannedFeature
impl Send for PlannedFeature
impl Sync for PlannedFeature
impl Unpin for PlannedFeature
impl UnsafeUnpin for PlannedFeature
impl UnwindSafe for PlannedFeature
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