pub struct OverlayDirectives {
pub reorder: Vec<(String, i64)>,
pub hide: Vec<String>,
pub retitle: Vec<(String, String)>,
}Expand description
Parsed overlay.toml directives.
Fields§
§reorder: Vec<(String, i64)>(recipe id, new order) from [[reorder]].
hide: Vec<String>recipe ids from [[hide]].
retitle: Vec<(String, String)>(recipe id, new title) from [[retitle]].
Trait Implementations§
Source§impl Clone for OverlayDirectives
impl Clone for OverlayDirectives
Source§fn clone(&self) -> OverlayDirectives
fn clone(&self) -> OverlayDirectives
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverlayDirectives
impl Debug for OverlayDirectives
Source§impl Default for OverlayDirectives
impl Default for OverlayDirectives
Source§fn default() -> OverlayDirectives
fn default() -> OverlayDirectives
Returns the “default value” for a type. Read more
impl Eq for OverlayDirectives
Source§impl PartialEq for OverlayDirectives
impl PartialEq for OverlayDirectives
Source§fn eq(&self, other: &OverlayDirectives) -> bool
fn eq(&self, other: &OverlayDirectives) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OverlayDirectives
Auto Trait Implementations§
impl Freeze for OverlayDirectives
impl RefUnwindSafe for OverlayDirectives
impl Send for OverlayDirectives
impl Sync for OverlayDirectives
impl Unpin for OverlayDirectives
impl UnsafeUnpin for OverlayDirectives
impl UnwindSafe for OverlayDirectives
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