pub struct AnchorRef {
pub entity: EntityId,
pub anchor: String,
}Expand description
A named anchor of an entity: {"entity": 12, "anchor": "start"}.
Fields§
§entity: EntityIdEntity.
anchor: StringAnchor name (start, end, mid, center, v3, plugin-defined names).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AnchorRef
impl<'de> Deserialize<'de> for AnchorRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnchorRef
Source§impl Ord for AnchorRef
impl Ord for AnchorRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AnchorRef
impl PartialOrd for AnchorRef
impl StructuralPartialEq for AnchorRef
Auto Trait Implementations§
impl Freeze for AnchorRef
impl RefUnwindSafe for AnchorRef
impl Send for AnchorRef
impl Sync for AnchorRef
impl Unpin for AnchorRef
impl UnsafeUnpin for AnchorRef
impl UnwindSafe for AnchorRef
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