pub struct ComposeRef {
pub target: ComposeTarget,
pub slots: Vec<SlotAssignment>,
}Expand description
A compose reference parsed from :compose(target, @slot = path, ...).
Fields§
§target: ComposeTargetThe target: either a file path or a slot reference.
slots: Vec<SlotAssignment>Slot assignments provided by the caller.
Trait Implementations§
Source§impl Clone for ComposeRef
impl Clone for ComposeRef
Source§fn clone(&self) -> ComposeRef
fn clone(&self) -> ComposeRef
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 ComposeRef
impl Debug for ComposeRef
Source§impl PartialEq for ComposeRef
impl PartialEq for ComposeRef
impl StructuralPartialEq for ComposeRef
Auto Trait Implementations§
impl Freeze for ComposeRef
impl RefUnwindSafe for ComposeRef
impl Send for ComposeRef
impl Sync for ComposeRef
impl Unpin for ComposeRef
impl UnsafeUnpin for ComposeRef
impl UnwindSafe for ComposeRef
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