pub struct FramePick {
pub on: PickedElement,
pub at: Option<PickedElement>,
}Expand description
A frame picked (see drawn::FRAME): what it is put on, and what of
that it sits at — a corner or a side of a face, an end of an edge —
each as a pick names it, of one target. Picked as one element of the
kind drawn::FRAME, named on_kind/on_name, or
on_kind/on_name|at_kind/at_name: no name has a / or a |.
Fields§
§on: PickedElement§at: Option<PickedElement>Implementations§
Source§impl FramePick
impl FramePick
Sourcepub fn picked(&self) -> PickedElement
pub fn picked(&self) -> PickedElement
It as one element picked.
Sourcepub fn of(picked: &PickedElement) -> Option<Self>
pub fn of(picked: &PickedElement) -> Option<Self>
The frame picked names, if it names one.
Trait Implementations§
impl StructuralPartialEq for FramePick
Auto Trait Implementations§
impl Freeze for FramePick
impl RefUnwindSafe for FramePick
impl Send for FramePick
impl Sync for FramePick
impl Unpin for FramePick
impl UnsafeUnpin for FramePick
impl UnwindSafe for FramePick
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