Struct domain::rdata::rfc1035::WksBitmapBuf [−][src]
pub struct WksBitmapBuf { /* fields omitted */ }
Methods
impl WksBitmapBuf
[src]
impl WksBitmapBuf
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn from_vec(vec: Vec<u8>) -> Self
[src]
pub fn from_vec(vec: Vec<u8>) -> Self
pub fn set_serves(&mut self, port: u16, enable: bool)
[src]
pub fn set_serves(&mut self, port: u16, enable: bool)
Enables or disables the given service.
Methods from Deref<Target = WksBitmap>
pub fn as_bytes(&self) -> &[u8]
[src]
pub fn as_bytes(&self) -> &[u8]
ⓘImportant traits for WksIter<'a>pub fn iter(&self) -> WksIter
[src]
ⓘImportant traits for WksIter<'a>
pub fn iter(&self) -> WksIter
pub fn serves(&self, port: u16) -> bool
[src]
pub fn serves(&self, port: u16) -> bool
Returns whether a certain service is being provided.
Trait Implementations
impl Clone for WksBitmapBuf
[src]
impl Clone for WksBitmapBuf
fn clone(&self) -> WksBitmapBuf
[src]
fn clone(&self) -> WksBitmapBuf
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for WksBitmapBuf
[src]
impl Debug for WksBitmapBuf
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for WksBitmapBuf
[src]
impl Default for WksBitmapBuf
fn default() -> WksBitmapBuf
[src]
fn default() -> WksBitmapBuf
Returns the "default value" for a type. Read more
impl Deref for WksBitmapBuf
[src]
impl Deref for WksBitmapBuf
type Target = WksBitmap
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl Borrow<WksBitmap> for WksBitmapBuf
[src]
impl Borrow<WksBitmap> for WksBitmapBuf
impl AsRef<WksBitmap> for WksBitmapBuf
[src]
impl AsRef<WksBitmap> for WksBitmapBuf
impl<T: AsRef<WksBitmap>> PartialEq<T> for WksBitmapBuf
[src]
impl<T: AsRef<WksBitmap>> PartialEq<T> for WksBitmapBuf
fn eq(&self, other: &T) -> bool
[src]
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for WksBitmapBuf
[src]
impl Eq for WksBitmapBuf
Auto Trait Implementations
impl Send for WksBitmapBuf
impl Send for WksBitmapBuf
impl Sync for WksBitmapBuf
impl Sync for WksBitmapBuf