pub enum Place {
First,
Last,
Before(EntityId),
After(EntityId),
BeforeTheRest,
}Expand description
Where a rule goes among the rules of a space.
Variants§
First
Before every other rule, where it wins over them.
Last
After every other rule.
Before(EntityId)
Just before this rule.
After(EntityId)
Just after this rule.
BeforeTheRest
Before the rule without conditions at the end, which chooses for every other file, if there is one, or else last.
Trait Implementations§
impl Copy for Place
impl Eq for Place
impl StructuralPartialEq for Place
Auto Trait Implementations§
impl Forget for Place
impl Freeze for Place
impl Move for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.