Struct divans::BlockSwitch [−][src]
pub struct BlockSwitch(pub u8);
Methods
impl BlockSwitch
[src]
impl BlockSwitch
pub fn new(block_type: u8) -> BlockSwitch
[src]
pub fn new(block_type: u8) -> BlockSwitch
pub fn block_type(&self) -> u8
[src]
pub fn block_type(&self) -> u8
Trait Implementations
impl Debug for BlockSwitch
[src]
impl Debug for BlockSwitch
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for BlockSwitch
[src]
impl Clone for BlockSwitch
fn clone(&self) -> BlockSwitch
[src]
fn clone(&self) -> BlockSwitch
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 Copy for BlockSwitch
[src]
impl Copy for BlockSwitch
impl Default for BlockSwitch
[src]
impl Default for BlockSwitch
fn default() -> BlockSwitch
[src]
fn default() -> BlockSwitch
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for BlockSwitch
impl Send for BlockSwitch
impl Sync for BlockSwitch
impl Sync for BlockSwitch