pub struct GroupOfProperties { /* private fields */ }Expand description
ISO 23387 GroupOfPropertiesType; the constructor enforces its non-empty property-reference sequence.
Implementations§
Source§impl GroupOfProperties
impl GroupOfProperties
Sourcepub fn to_element(&self) -> Element
pub fn to_element(&self) -> Element
Encodes as a global dt:GroupOfProperties element.
Source§impl GroupOfProperties
impl GroupOfProperties
Sourcepub fn from_element(element: &Element) -> Result<Self, CodecError>
pub fn from_element(element: &Element) -> Result<Self, CodecError>
Decodes GroupOfPropertiesType content (any element name).
Source§impl GroupOfProperties
impl GroupOfProperties
pub fn new(subject: Subject, first_property_ref: Reference) -> Self
pub const fn subject(&self) -> &Subject
Sourcepub fn subject_mut(&mut self) -> &mut Subject
pub fn subject_mut(&mut self) -> &mut Subject
Mutable access to the shared SubjectType core.
pub fn property_refs(&self) -> &[Reference]
pub fn add_property_ref(&mut self, value: Reference)
Trait Implementations§
Source§impl Clone for GroupOfProperties
impl Clone for GroupOfProperties
Source§fn clone(&self) -> GroupOfProperties
fn clone(&self) -> GroupOfProperties
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 GroupOfProperties
impl Debug for GroupOfProperties
impl Eq for GroupOfProperties
Source§impl PartialEq for GroupOfProperties
impl PartialEq for GroupOfProperties
impl StructuralPartialEq for GroupOfProperties
Auto Trait Implementations§
impl Freeze for GroupOfProperties
impl RefUnwindSafe for GroupOfProperties
impl Send for GroupOfProperties
impl Sync for GroupOfProperties
impl Unpin for GroupOfProperties
impl UnsafeUnpin for GroupOfProperties
impl UnwindSafe for GroupOfProperties
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