pub struct ScopeFunc<T> {
pub apply: fn(T, &[&[u8]], bool, &dyn Scope) -> ApplyResult,
pub to_abe: fn(T, &[u8], &[ABE]) -> ApplyResult<String>,
pub info: ScopeFuncInfo,
}Fields§
§apply: fn(T, &[&[u8]], bool, &dyn Scope) -> ApplyResult§to_abe: fn(T, &[u8], &[ABE]) -> ApplyResult<String>§info: ScopeFuncInfoTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ScopeFunc<T>
impl<T> RefUnwindSafe for ScopeFunc<T>
impl<T> Send for ScopeFunc<T>
impl<T> Sync for ScopeFunc<T>
impl<T> Unpin for ScopeFunc<T>
impl<T> UnwindSafe for ScopeFunc<T>
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