pub struct LabelStatement {
pub name: String,
}Expand description
Represents a location in code that could be jumbed to
Fields§
§name: StringTrait Implementations§
Source§impl Clone for LabelStatement
impl Clone for LabelStatement
Source§fn clone(&self) -> LabelStatement
fn clone(&self) -> LabelStatement
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 LabelStatement
impl Debug for LabelStatement
Source§impl<'de> Deserialize<'de> for LabelStatement
impl<'de> Deserialize<'de> for LabelStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LabelStatement
impl PartialEq for LabelStatement
Source§fn eq(&self, other: &LabelStatement) -> bool
fn eq(&self, other: &LabelStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LabelStatement
impl Serialize for LabelStatement
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime LabelStatement
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime LabelStatement
Source§type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
The type returned in the event of a conversion error.
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut LabelStatement
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut LabelStatement
Source§type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
The type returned in the event of a conversion error.
Source§impl TryFrom<AstStatement> for LabelStatement
impl TryFrom<AstStatement> for LabelStatement
Source§type Error = TryIntoError<AstStatement>
type Error = TryIntoError<AstStatement>
The type returned in the event of a conversion error.
impl StructuralPartialEq for LabelStatement
Auto Trait Implementations§
impl Freeze for LabelStatement
impl RefUnwindSafe for LabelStatement
impl Send for LabelStatement
impl Sync for LabelStatement
impl Unpin for LabelStatement
impl UnsafeUnpin for LabelStatement
impl UnwindSafe for LabelStatement
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