pub struct SlotAssignment {
pub name: String,
pub path: PathBuf,
}Expand description
A slot assignment: @name = path.
Fields§
§name: StringThe slot name (without @ prefix).
path: PathBufThe file path to assign to this slot.
Trait Implementations§
Source§impl Clone for SlotAssignment
impl Clone for SlotAssignment
Source§fn clone(&self) -> SlotAssignment
fn clone(&self) -> SlotAssignment
Returns a duplicate of the value. Read more
1.0.0 · 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 SlotAssignment
impl Debug for SlotAssignment
Source§impl PartialEq for SlotAssignment
impl PartialEq for SlotAssignment
impl StructuralPartialEq for SlotAssignment
Auto Trait Implementations§
impl Freeze for SlotAssignment
impl RefUnwindSafe for SlotAssignment
impl Send for SlotAssignment
impl Sync for SlotAssignment
impl Unpin for SlotAssignment
impl UnsafeUnpin for SlotAssignment
impl UnwindSafe for SlotAssignment
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