Struct cyfs_lib::ExpEvaluator
source · [−]pub struct ExpEvaluator { /* private fields */ }
Implementations
sourceimpl ExpEvaluator
impl ExpEvaluator
pub fn new(
exp: &str,
reserved_token_list: &ExpReservedTokenList
) -> BuckyResult<Self>
pub fn exp(&self) -> &str
pub fn eval(
&self,
translator: &impl ExpReservedTokenTranslator
) -> BuckyResult<bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExpEvaluator
impl Send for ExpEvaluator
impl Sync for ExpEvaluator
impl Unpin for ExpEvaluator
impl UnwindSafe for ExpEvaluator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more