pub struct ProtectionStyle {
pub locked: bool,
pub hidden: bool,
}Expand description
Protection style definition.
Fields§
§locked: boolTrait Implementations§
Source§impl Clone for ProtectionStyle
impl Clone for ProtectionStyle
Source§fn clone(&self) -> ProtectionStyle
fn clone(&self) -> ProtectionStyle
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProtectionStyle
impl RefUnwindSafe for ProtectionStyle
impl Send for ProtectionStyle
impl Sync for ProtectionStyle
impl Unpin for ProtectionStyle
impl UnwindSafe for ProtectionStyle
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