Enum dotavious::attributes::PortPosition [−][src]
Modifier indicating where on a node an edge should be aimed. If Port is used, the corresponding node must either have record shape with one of its fields having the given portname, or have an HTML-like label, one of whose components has a PORT attribute set to portname. If no compass point is used with a portname, the default value is “_”.
Variants
Fields of Port
port_name: String
compass_point: Option<CompassPoint>
Compass(CompassPoint)
Trait Implementations
impl Clone for PortPosition
[src]
fn clone(&self) -> PortPosition
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PortPosition
[src]
impl<'a> DotString<'a> for PortPosition
[src]
fn dot_string(&self) -> Cow<'a, str>
[src]
impl Eq for PortPosition
[src]
impl<'a> From<PortPosition> for AttributeText<'a>
[src]
fn from(port_position: PortPosition) -> Self
[src]
impl PartialEq<PortPosition> for PortPosition
[src]
fn eq(&self, other: &PortPosition) -> bool
[src]
fn ne(&self, other: &PortPosition) -> bool
[src]
impl StructuralEq for PortPosition
[src]
impl StructuralPartialEq for PortPosition
[src]
Auto Trait Implementations
impl RefUnwindSafe for PortPosition
impl Send for PortPosition
impl Sync for PortPosition
impl Unpin for PortPosition
impl UnwindSafe for PortPosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,