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§fn clone(&self) -> FunctionConfig
fn clone(&self) -> FunctionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionConfig
impl Debug for FunctionConfig
Source§impl Default for FunctionConfig
impl Default for FunctionConfig
Source§fn default() -> FunctionConfig
fn default() -> FunctionConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionConfig
impl RefUnwindSafe for FunctionConfig
impl Send for FunctionConfig
impl Sync for FunctionConfig
impl Unpin 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