pub struct BehaviorPattern {
pub signal: StyleSignal,
pub severity: &'static str,
pub description: String,
pub suggestion: String,
}Fields§
§signal: StyleSignal§severity: &'static str§description: String§suggestion: StringImplementations§
Source§impl BehaviorPattern
impl BehaviorPattern
pub fn from_signals( scores: &HashMap<StyleSignal, f64>, locale: &str, ) -> Vec<Self>
Trait Implementations§
Source§impl Clone for BehaviorPattern
impl Clone for BehaviorPattern
Source§fn clone(&self) -> BehaviorPattern
fn clone(&self) -> BehaviorPattern
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 moreAuto Trait Implementations§
impl Freeze for BehaviorPattern
impl RefUnwindSafe for BehaviorPattern
impl Send for BehaviorPattern
impl Sync for BehaviorPattern
impl Unpin for BehaviorPattern
impl UnsafeUnpin for BehaviorPattern
impl UnwindSafe for BehaviorPattern
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