Enum region::Access
[−]
[src]
pub enum Access { Type(Protection), Previous, Initial, }
View protection access.
Variants
Type(Protection)
A new protection state.
Previous
The previous protection state.
Initial
The initial protection state.
Trait Implementations
impl Debug for Access
[src]
impl Copy for Access
[src]
impl Clone for Access
[src]
fn clone(&self) -> Access
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Protection> for Access
[src]
fn from(protection: Protection) -> Access
[src]
Performs the conversion.