pub struct BehaviourRef {
pub behaviour: ModuleName,
pub line: u32,
}Expand description
One scanned -behaviour(M) declaration, with the line number for
the user-facing report.
Fields§
§behaviour: ModuleName§line: u32Trait Implementations§
Source§impl Clone for BehaviourRef
impl Clone for BehaviourRef
Source§fn clone(&self) -> BehaviourRef
fn clone(&self) -> BehaviourRef
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 BehaviourRef
impl Debug for BehaviourRef
impl Eq for BehaviourRef
Source§impl PartialEq for BehaviourRef
impl PartialEq for BehaviourRef
impl StructuralPartialEq for BehaviourRef
Auto Trait Implementations§
impl Freeze for BehaviourRef
impl RefUnwindSafe for BehaviourRef
impl Send for BehaviourRef
impl Sync for BehaviourRef
impl Unpin for BehaviourRef
impl UnsafeUnpin for BehaviourRef
impl UnwindSafe for BehaviourRef
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