pub struct AccessRestriction(pub u8);Expand description
Access restriction flags
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for AccessRestriction
impl Clone for AccessRestriction
Source§fn clone(&self) -> AccessRestriction
fn clone(&self) -> AccessRestriction
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 moreSource§impl Debug for AccessRestriction
impl Debug for AccessRestriction
Source§impl Default for AccessRestriction
impl Default for AccessRestriction
Source§fn default() -> AccessRestriction
fn default() -> AccessRestriction
Returns the “default value” for a type. Read more
Source§impl FromValue for AccessRestriction
impl FromValue for AccessRestriction
Source§fn from_value(
node: &Node<'_, '_>,
attr: &str,
v: &str,
) -> Result<AccessRestriction, XmlError>
fn from_value( node: &Node<'_, '_>, attr: &str, v: &str, ) -> Result<AccessRestriction, XmlError>
Load Self from the body of a node.
v is the value being parsed, attr and node are
given for context and error handling.Auto Trait Implementations§
impl Freeze for AccessRestriction
impl RefUnwindSafe for AccessRestriction
impl Send for AccessRestriction
impl Sync for AccessRestriction
impl Unpin for AccessRestriction
impl UnsafeUnpin for AccessRestriction
impl UnwindSafe for AccessRestriction
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