pub enum MenuEdit {
Before,
After,
Inside,
Remove,
}Expand description
A keyed mutation corresponding to PHP’s addBefore, addAfter, addIn and remove.
let edit = oxblade_adminlte::MenuEdit::Remove;
assert_eq!(edit, oxblade_adminlte::MenuEdit::Remove);Variants§
Before
Insert before the first matching item.
After
Insert after the first matching item.
Inside
Append to children of the first matching submenu (or create one on a text entry).
Remove
Remove the first matching item.
Trait Implementations§
impl Copy for MenuEdit
impl Eq for MenuEdit
impl StructuralPartialEq for MenuEdit
Auto Trait Implementations§
impl Forget for MenuEdit
impl Freeze for MenuEdit
impl Move for MenuEdit
impl RefUnwindSafe for MenuEdit
impl Send for MenuEdit
impl Sync for MenuEdit
impl Unpin for MenuEdit
impl UnsafeUnpin for MenuEdit
impl UnwindSafe for MenuEdit
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.