pub struct FunctionConfig { /* private fields */ }Implementations§
Source§impl FunctionConfig
impl FunctionConfig
Sourcepub fn new() -> FunctionConfig
pub fn new() -> FunctionConfig
Creates a blank set of configuration.
Sourcepub fn push(&mut self, filter: FunctionFilter, flags: FunctionFlags)
pub fn push(&mut self, filter: FunctionFilter, flags: FunctionFlags)
Adds a new rule to this configuration.
Note that the order rules are added is significant as only the first matching rule is used for a function.
Trait Implementations§
Source§impl Clone for FunctionConfig
impl Clone for FunctionConfig
Source§impl Debug for FunctionConfig
impl Debug for FunctionConfig
Auto Trait Implementations§
impl Forget for FunctionConfig
impl Freeze for FunctionConfig
impl Move for FunctionConfig
impl RefUnwindSafe for FunctionConfig
impl Send for FunctionConfig
impl Sync for FunctionConfig
impl Unpin for FunctionConfig
impl UnsafeUnpin for FunctionConfig
impl UnwindSafe for FunctionConfig
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