pub struct LabeledPrompt { /* private fields */ }Expand description
A labeled escape target: a label symbol bound to a control prompt.
Names a dynamic-extent landing site so a NonLocalExit can abort to the
matching prompt by label.
Implementations§
Trait Implementations§
Source§impl Clone for LabeledPrompt
impl Clone for LabeledPrompt
Source§fn clone(&self) -> LabeledPrompt
fn clone(&self) -> LabeledPrompt
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 LabeledPrompt
impl Debug for LabeledPrompt
impl Eq for LabeledPrompt
Source§impl PartialEq for LabeledPrompt
impl PartialEq for LabeledPrompt
Source§fn eq(&self, other: &LabeledPrompt) -> bool
fn eq(&self, other: &LabeledPrompt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LabeledPrompt
Auto Trait Implementations§
impl Freeze for LabeledPrompt
impl RefUnwindSafe for LabeledPrompt
impl Send for LabeledPrompt
impl Sync for LabeledPrompt
impl Unpin for LabeledPrompt
impl UnsafeUnpin for LabeledPrompt
impl UnwindSafe for LabeledPrompt
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