pub struct Rule {
pub key: char,
pub effect: u8,
pub effect_type: EffectType,
pub effect_on: char,
pub result: char,
pub appended_rules: Box<[Rule]>,
}Fields§
§key: char§effect: u8Effect value:
- if
effect_type == ToneTransformation: this is aToneasu8 - if
effect_type == MarkTransformation: this is aMarkasu8
effect_type: EffectType§effect_on: char§result: char§appended_rules: Box<[Rule]>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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