pub struct TSKRule { /* private fields */ }Implementations§
Source§impl TSKRule
impl TSKRule
pub fn new_or( input_relations: Vec<i32>, output_relations: Vec<OutputRelation>, weight: f64, ) -> Self
pub fn new_and( input_relations: Vec<i32>, output_relations: Vec<OutputRelation>, weight: f64, ) -> Self
pub fn get_kind(&self) -> &Kind
pub fn get_weight(&self) -> f64
pub fn get_input_rules(&self) -> &[i32]
pub fn get_output_rules(&self) -> &[OutputRelation]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TSKRule
impl RefUnwindSafe for TSKRule
impl Send for TSKRule
impl Sync for TSKRule
impl Unpin for TSKRule
impl UnwindSafe for TSKRule
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