pub enum TextOrCharacterRef {
AnnotationText(AnnotationTextId),
AnnotationTextCharacter(AnnotationTextCharacterId),
CompositeText(CompositeTextId),
DefinedCharacterGlyph(DefinedCharacterGlyphId),
TextLiteral(TextLiteralId),
Complex(ComplexUnitId),
}Variants§
AnnotationText(AnnotationTextId)
AnnotationTextCharacter(AnnotationTextCharacterId)
CompositeText(CompositeTextId)
DefinedCharacterGlyph(DefinedCharacterGlyphId)
TextLiteral(TextLiteralId)
Complex(ComplexUnitId)
Implementations§
Source§impl TextOrCharacterRef
impl TextOrCharacterRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> TextOrCharacterRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for TextOrCharacterRef
impl Clone for TextOrCharacterRef
Source§fn clone(&self) -> TextOrCharacterRef
fn clone(&self) -> TextOrCharacterRef
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 TextOrCharacterRef
impl Debug for TextOrCharacterRef
Source§impl PartialEq for TextOrCharacterRef
impl PartialEq for TextOrCharacterRef
Source§fn eq(&self, other: &TextOrCharacterRef) -> bool
fn eq(&self, other: &TextOrCharacterRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextOrCharacterRef
Auto Trait Implementations§
impl Freeze for TextOrCharacterRef
impl RefUnwindSafe for TextOrCharacterRef
impl Send for TextOrCharacterRef
impl Sync for TextOrCharacterRef
impl Unpin for TextOrCharacterRef
impl UnsafeUnpin for TextOrCharacterRef
impl UnwindSafe for TextOrCharacterRef
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