Struct Visibility
pub struct Visibility(/* private fields */);
Implementations§
§impl Visibility
impl Visibility
pub const UNOBSCURED: Visibility = _
pub const PARTIALLY_OBSCURED: Visibility = _
pub const FULLY_OBSCURED: Visibility = _
Trait Implementations§
§impl Clone for Visibility
impl Clone for Visibility
§fn clone(&self) -> Visibility
fn clone(&self) -> Visibility
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for Visibility
impl Debug for Visibility
§impl Default for Visibility
impl Default for Visibility
§fn default() -> Visibility
fn default() -> Visibility
Returns the “default value” for a type. Read more
§impl From<u8> for Visibility
impl From<u8> for Visibility
§fn from(value: u8) -> Visibility
fn from(value: u8) -> Visibility
Converts to this type from the input type.
§impl Hash for Visibility
impl Hash for Visibility
§impl Ord for Visibility
impl Ord for Visibility
§impl PartialEq for Visibility
impl PartialEq for Visibility
§impl PartialOrd for Visibility
impl PartialOrd for Visibility
impl Copy for Visibility
impl Eq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations§
impl Freeze for Visibility
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)