#[non_exhaustive]pub struct DetectedBreak {
pub type: Type,
/* private fields */
}Expand description
Detected break at the end of a Token.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: TypeDetected break type.
Implementations§
Trait Implementations§
Source§impl Clone for DetectedBreak
impl Clone for DetectedBreak
Source§fn clone(&self) -> DetectedBreak
fn clone(&self) -> DetectedBreak
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 DetectedBreak
impl Debug for DetectedBreak
Source§impl Default for DetectedBreak
impl Default for DetectedBreak
Source§fn default() -> DetectedBreak
fn default() -> DetectedBreak
Returns the “default value” for a type. Read more
Source§impl Message for DetectedBreak
impl Message for DetectedBreak
Source§impl PartialEq for DetectedBreak
impl PartialEq for DetectedBreak
impl StructuralPartialEq for DetectedBreak
Auto Trait Implementations§
impl Freeze for DetectedBreak
impl RefUnwindSafe for DetectedBreak
impl Send for DetectedBreak
impl Sync for DetectedBreak
impl Unpin for DetectedBreak
impl UnwindSafe for DetectedBreak
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