pub enum DocumentRef {
Document(DocumentId),
DocumentFile(DocumentFileId),
Complex(ComplexUnitId),
}Variants§
Implementations§
Source§impl DocumentRef
impl DocumentRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> DocumentRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for DocumentRef
impl Clone for DocumentRef
Source§fn clone(&self) -> DocumentRef
fn clone(&self) -> DocumentRef
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 DocumentRef
impl Debug for DocumentRef
Source§impl PartialEq for DocumentRef
impl PartialEq for DocumentRef
Source§fn eq(&self, other: &DocumentRef) -> bool
fn eq(&self, other: &DocumentRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentRef
Auto Trait Implementations§
impl Freeze for DocumentRef
impl RefUnwindSafe for DocumentRef
impl Send for DocumentRef
impl Sync for DocumentRef
impl Unpin for DocumentRef
impl UnsafeUnpin for DocumentRef
impl UnwindSafe for DocumentRef
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