[][src]Trait netaddr2::Contains

pub trait Contains {
    fn contains<T: Copy>(&self, other: &T) -> bool
    where
        Self: From<T>
; }

Check containment of one object within another

Required methods

fn contains<T: Copy>(&self, other: &T) -> bool where
    Self: From<T>, 

Loading content...

Implementors

impl Contains for NetAddr[src]

impl Contains for Netv4Addr[src]

impl Contains for Netv6Addr[src]

Loading content...