pub struct Suppressions { /* private fields */ }
Expand description
A set of Valgrind suppressions.
Implementations§
Source§impl Suppressions
impl Suppressions
Sourcepub fn parse<B: BufRead>(buf: &mut B) -> Result<Suppressions, ParseError>
pub fn parse<B: BufRead>(buf: &mut B) -> Result<Suppressions, ParseError>
Parses the suppressions from buf
in Valgrind suppression syntax.
§See also
- Suppressing errors. Valgrind User Manual.
Sourcepub fn add_all(&mut self, other: &Suppressions)
pub fn add_all(&mut self, other: &Suppressions)
Clones all of the suppressions in other
and adds them to these suppressions.
pub fn count(&self) -> usize
pub fn iter(&self) -> Iter<'_, Suppression>
pub fn iter_mut(&mut self) -> IterMut<'_, Suppression>
Trait Implementations§
Source§impl Clone for Suppressions
impl Clone for Suppressions
Source§fn clone(&self) -> Suppressions
fn clone(&self) -> Suppressions
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 Display for Suppressions
impl Display for Suppressions
Source§impl<'a> IntoIterator for &'a Suppressions
impl<'a> IntoIterator for &'a Suppressions
Source§type Item = &'a Suppression
type Item = &'a Suppression
The type of the elements being iterated over.
Source§type IntoIter = Iter<'a, Suppression>
type IntoIter = Iter<'a, Suppression>
Which kind of iterator are we turning this into?
Auto Trait Implementations§
impl Freeze for Suppressions
impl RefUnwindSafe for Suppressions
impl Send for Suppressions
impl Sync for Suppressions
impl Unpin for Suppressions
impl UnwindSafe for Suppressions
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