Struct uclicious::raw::priority::Priority [−][src]
pub struct Priority(_);
Expand description
Priorities are used by UCL parser to manage the policy of objects rewriting during including other files as following:
- If we have two objects with the same priority then we form an implicit array
- If a new object has bigger priority then we overwrite an old one
- If a new object has lower priority then we ignore it
By default, the priority of top-level object is set to zero (the lowest priority). Currently, you can define up to 16 priorities (from 0 to 16). Includes with bigger priorities will rewrite keys from the objects with lower priorities as specified by the policy.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Priority
impl UnwindSafe for Priority
Blanket Implementations
Mutably borrows from an owned value. Read more