Struct logid::logging::filter::LogIdModuleFilter
source · pub struct LogIdModuleFilter { /* private fields */ }
Implementations§
source§impl LogIdModuleFilter
impl LogIdModuleFilter
pub fn origin_in_module(&self, origin: &Origin) -> bool
pub fn event_allowed(&self, id: LogId, origin: &Origin) -> bool
pub fn addon_allowed( &self, id: LogId, origin: &Origin, addon: &AddonFilter ) -> bool
Trait Implementations§
source§impl Clone for LogIdModuleFilter
impl Clone for LogIdModuleFilter
source§fn clone(&self) -> LogIdModuleFilter
fn clone(&self) -> LogIdModuleFilter
Returns a copy 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 LogIdModuleFilter
impl Debug for LogIdModuleFilter
source§impl Default for LogIdModuleFilter
impl Default for LogIdModuleFilter
source§fn default() -> LogIdModuleFilter
fn default() -> LogIdModuleFilter
Returns the “default value” for a type. Read more
source§impl IntoIterator for LogIdModuleFilter
impl IntoIterator for LogIdModuleFilter
§type Item = LogIdModuleFilter
type Item = LogIdModuleFilter
The type of the elements being iterated over.
§type IntoIter = Once<LogIdModuleFilter>
type IntoIter = Once<LogIdModuleFilter>
Which kind of iterator are we turning this into?
source§fn into_iter(self) -> <LogIdModuleFilter as IntoIterator>::IntoIter
fn into_iter(self) -> <LogIdModuleFilter as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
source§impl Ord for LogIdModuleFilter
impl Ord for LogIdModuleFilter
source§fn cmp(&self, other: &LogIdModuleFilter) -> Ordering
fn cmp(&self, other: &LogIdModuleFilter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<LogIdModuleFilter> for LogIdModuleFilter
impl PartialEq<LogIdModuleFilter> for LogIdModuleFilter
source§fn eq(&self, other: &LogIdModuleFilter) -> bool
fn eq(&self, other: &LogIdModuleFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LogIdModuleFilter> for LogIdModuleFilter
impl PartialOrd<LogIdModuleFilter> for LogIdModuleFilter
source§fn partial_cmp(&self, other: &LogIdModuleFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &LogIdModuleFilter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for LogIdModuleFilter
impl StructuralEq for LogIdModuleFilter
impl StructuralPartialEq for LogIdModuleFilter
Auto Trait Implementations§
impl RefUnwindSafe for LogIdModuleFilter
impl Send for LogIdModuleFilter
impl Sync for LogIdModuleFilter
impl Unpin for LogIdModuleFilter
impl UnwindSafe for LogIdModuleFilter
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