pub struct NoCollapseInfo {
pub rule_name: String,
pub span: (usize, usize),
pub rule_name_span: (usize, usize),
}Expand description
Owned representation of a @no_collapse directive.
Fields§
§rule_name: StringThe name of the rule to prevent span collapse for.
span: (usize, usize)Byte offset range of the entire directive.
rule_name_span: (usize, usize)Byte offset range of the rule name within the directive.
Trait Implementations§
Source§impl Clone for NoCollapseInfo
impl Clone for NoCollapseInfo
Source§fn clone(&self) -> NoCollapseInfo
fn clone(&self) -> NoCollapseInfo
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 moreAuto Trait Implementations§
impl Freeze for NoCollapseInfo
impl RefUnwindSafe for NoCollapseInfo
impl Send for NoCollapseInfo
impl Sync for NoCollapseInfo
impl Unpin for NoCollapseInfo
impl UnsafeUnpin for NoCollapseInfo
impl UnwindSafe for NoCollapseInfo
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