pub struct CaseLabel {
pub value: Option<Expression>,
pub location: SourceLocation,
}Fields§
§value: Option<Expression>The case value expression (e.g., PROP_FOO, 1, N_PROPS + 1) None for default case
location: SourceLocationTrait Implementations§
Auto Trait Implementations§
impl Freeze for CaseLabel
impl RefUnwindSafe for CaseLabel
impl Send for CaseLabel
impl Sync for CaseLabel
impl Unpin for CaseLabel
impl UnsafeUnpin for CaseLabel
impl UnwindSafe for CaseLabel
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