pub struct DataTemplate { /* private fields */ }Expand description
ISO 23387 DataTemplateType.
Implementations§
Source§impl DataTemplate
impl DataTemplate
pub const fn new(subject: Subject) -> Self
pub const fn subject(&self) -> &Subject
pub const fn object_type_ref(&self) -> Option<&Reference>
pub fn property_refs(&self) -> &[Reference]
pub fn add_property_ref(&mut self, value: Reference)
pub fn group_of_properties_refs(&self) -> &[Reference]
pub fn add_group_of_properties_ref(&mut self, value: Reference)
pub fn set_object_type_ref(&mut self, value: Option<Reference>)
Trait Implementations§
Source§impl Clone for DataTemplate
impl Clone for DataTemplate
Source§fn clone(&self) -> DataTemplate
fn clone(&self) -> DataTemplate
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 moreSource§impl Debug for DataTemplate
impl Debug for DataTemplate
Source§impl PartialEq for DataTemplate
impl PartialEq for DataTemplate
impl Eq for DataTemplate
impl StructuralPartialEq for DataTemplate
Auto Trait Implementations§
impl Freeze for DataTemplate
impl RefUnwindSafe for DataTemplate
impl Send for DataTemplate
impl Sync for DataTemplate
impl Unpin for DataTemplate
impl UnwindSafe for DataTemplate
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