#[non_exhaustive]pub enum ShapeLintOwner {
Source {
source: SourceId,
},
Node {
composition: CompositionId,
node: NodeId,
},
}Expand description
The shapes generator a shape LintIssue is about.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ShapeLintOwner
impl Clone for ShapeLintOwner
Source§impl Debug for ShapeLintOwner
impl Debug for ShapeLintOwner
impl Eq for ShapeLintOwner
Source§impl PartialEq for ShapeLintOwner
impl PartialEq for ShapeLintOwner
Source§impl Serialize for ShapeLintOwner
impl Serialize for ShapeLintOwner
impl StructuralPartialEq for ShapeLintOwner
Auto Trait Implementations§
impl Freeze for ShapeLintOwner
impl RefUnwindSafe for ShapeLintOwner
impl Send for ShapeLintOwner
impl Sync for ShapeLintOwner
impl Unpin for ShapeLintOwner
impl UnsafeUnpin for ShapeLintOwner
impl UnwindSafe for ShapeLintOwner
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