pub struct LineEnd {
pub kind: Option<LineEndType>,
pub width: Option<LineEndSize>,
pub length: Option<LineEndSize>,
}Expand description
One end of a line/connector (<a:headEnd>/<a:tailEnd>, CT_LineEndProperties) — e.g. an
arrowhead.
Fields§
§kind: Option<LineEndType>§width: Option<LineEndSize>§length: Option<LineEndSize>Implementations§
Source§impl LineEnd
impl LineEnd
pub fn new() -> LineEnd
pub fn with_kind(self, kind: LineEndType) -> LineEnd
pub fn with_width(self, width: LineEndSize) -> LineEnd
pub fn with_length(self, length: LineEndSize) -> LineEnd
Trait Implementations§
impl Copy for LineEnd
impl Eq for LineEnd
impl StructuralPartialEq for LineEnd
Auto Trait Implementations§
impl Freeze for LineEnd
impl RefUnwindSafe for LineEnd
impl Send for LineEnd
impl Sync for LineEnd
impl Unpin for LineEnd
impl UnsafeUnpin for LineEnd
impl UnwindSafe for LineEnd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.