Trait ux::prelude::InetAddressMaskExt [−]
pub trait InetAddressMaskExt: 'static {
pub fn equal<P>(&self, mask2: &P) -> bool
where
P: IsA<InetAddressMask>;
pub fn get_address(&self) -> InetAddress;
pub fn get_family(&self) -> SocketFamily;
pub fn get_length(&self) -> u32;
pub fn matches<P>(&self, address: &P) -> bool
where
P: IsA<InetAddress>;
pub fn to_string(&self) -> GString;
pub fn set_property_address<P>(&self, address: Option<&P>)
where
P: IsA<InetAddress> + SetValueOptional;
pub fn set_property_length(&self, length: u32);
pub fn connect_property_address_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self) + Send + Sync;
pub fn connect_property_family_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self) + Send + Sync;
pub fn connect_property_length_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self) + Send + Sync;
}Required methods
pub fn equal<P>(&self, mask2: &P) -> bool where
P: IsA<InetAddressMask>,
P: IsA<InetAddressMask>,
pub fn get_address(&self) -> InetAddress
pub fn get_family(&self) -> SocketFamily
pub fn get_length(&self) -> u32
pub fn matches<P>(&self, address: &P) -> bool where
P: IsA<InetAddress>,
P: IsA<InetAddress>,
pub fn to_string(&self) -> GString
pub fn set_property_address<P>(&self, address: Option<&P>) where
P: IsA<InetAddress> + SetValueOptional,
P: IsA<InetAddress> + SetValueOptional,
pub fn set_property_length(&self, length: u32)
pub fn connect_property_address_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self) + Send + Sync,
F: 'static + Fn(&Self) + Send + Sync,
pub fn connect_property_family_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self) + Send + Sync,
F: 'static + Fn(&Self) + Send + Sync,
pub fn connect_property_length_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self) + Send + Sync,
F: 'static + Fn(&Self) + Send + Sync,
Implementors
impl<O> InetAddressMaskExt for O where
O: IsA<InetAddressMask>,
O: IsA<InetAddressMask>,
pub fn equal<P>(&self, mask2: &P) -> bool where
P: IsA<InetAddressMask>,
P: IsA<InetAddressMask>,
pub fn get_address(&self) -> InetAddress
pub fn get_family(&self) -> SocketFamily
pub fn get_length(&self) -> u32
pub fn matches<P>(&self, address: &P) -> bool where
P: IsA<InetAddress>,
P: IsA<InetAddress>,
pub fn to_string(&self) -> GString
pub fn set_property_address<P>(&self, address: Option<&P>) where
P: IsA<InetAddress> + SetValueOptional,
P: IsA<InetAddress> + SetValueOptional,
pub fn set_property_length(&self, length: u32)
pub fn connect_property_address_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O) + Send + Sync,
F: 'static + Fn(&O) + Send + Sync,
pub fn connect_property_family_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O) + Send + Sync,
F: 'static + Fn(&O) + Send + Sync,
pub fn connect_property_length_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O) + Send + Sync,
F: 'static + Fn(&O) + Send + Sync,