[−][src]Struct uclicious::raw::priority::Priority
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 15). Includes with bigger priorities will rewrite keys from the objects with lower priorities as specified by the policy.
Methods
impl Priority
[src]
Trait Implementations
impl Default for Priority
[src]
impl From<i16> for Priority
[src]
impl From<i32> for Priority
[src]
impl From<i64> for Priority
[src]
impl From<u16> for Priority
[src]
impl From<u32> for Priority
[src]
impl From<u64> for Priority
[src]
Auto Trait Implementations
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: FromObject<T>,
[src]
U: FromObject<T>,
fn try_into(Self) -> Result<U, ObjectError>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,