pub trait IsGTPvtAccess {
// Provided methods
fn is_private_access() -> bool { ... }
fn is_uniform_access() -> bool { ... }
fn is_public_access() -> bool { ... }
fn get_access_level() -> CellAccessLevels { ... }
fn is_self_private_access(&self) -> bool { ... }
fn is_self_uniform_access(&self) -> bool { ... }
fn is_self_public_access(&self) -> bool { ... }
fn get_self_access_level(&self) -> CellAccessLevels { ... }
}Expand description
This trait allows for standardized polling of access type,
and indicates the private access type.
Provided Methods§
fn is_private_access() -> bool
fn is_uniform_access() -> bool
fn is_public_access() -> bool
fn get_access_level() -> CellAccessLevels
fn is_self_private_access(&self) -> bool
fn is_self_uniform_access(&self) -> bool
fn is_self_public_access(&self) -> bool
fn get_self_access_level(&self) -> CellAccessLevels
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.