pub struct RdAttribute { /* private fields */ }Expand description
A single R-level attribute attached to a raw Rd node, preserved for losslessness.
Implementations§
Source§impl RdAttribute
impl RdAttribute
pub fn name(&self) -> &str
pub fn value(&self) -> &RawRdObject
pub fn into_parts(self) -> (String, RawRdObject)
Trait Implementations§
Source§impl Clone for RdAttribute
impl Clone for RdAttribute
Source§fn clone(&self) -> RdAttribute
fn clone(&self) -> RdAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RdAttribute
impl Debug for RdAttribute
Source§impl<'de> Deserialize<'de> for RdAttribute
impl<'de> Deserialize<'de> for RdAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RdAttribute
impl PartialEq for RdAttribute
Source§impl Serialize for RdAttribute
impl Serialize for RdAttribute
impl StructuralPartialEq for RdAttribute
Auto Trait Implementations§
impl Freeze for RdAttribute
impl RefUnwindSafe for RdAttribute
impl Send for RdAttribute
impl Sync for RdAttribute
impl Unpin for RdAttribute
impl UnsafeUnpin for RdAttribute
impl UnwindSafe for RdAttribute
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