pub struct Subject { /* private fields */ }Expand description
Owned SubjectType core shared by object types, groups, and data templates.
Implementations§
Source§impl Subject
impl Subject
pub const fn new(concept: Concept) -> Self
pub const fn concept(&self) -> &Concept
pub fn has_part_refs(&self) -> &[Reference]
pub const fn is_subtype_of_ref(&self) -> Option<&Reference>
pub fn add_has_part_ref(&mut self, value: Reference)
pub fn set_is_subtype_of_ref(&mut self, value: Option<Reference>)
Trait Implementations§
impl Eq for Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnwindSafe for Subject
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