pub struct ShapeConnection {
pub shape_id: u32,
pub index: u32,
}Expand description
One end of a Connector’s attachment to another shape (<a:stCxn>/<a:endCxn>,
CT_Connection).
Fields§
§shape_id: u32id — the attached shape’s <p:cNvPr id="..">.
index: u32idx — which of that shape’s connection sites (a preset-shape- specific numbered list of
attachment points around its outline; this crate doesn’t validate the index against the
target shape’s actual preset).
Trait Implementations§
Source§impl Clone for ShapeConnection
impl Clone for ShapeConnection
Source§fn clone(&self) -> ShapeConnection
fn clone(&self) -> ShapeConnection
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 moreimpl Copy for ShapeConnection
Source§impl Debug for ShapeConnection
impl Debug for ShapeConnection
impl Eq for ShapeConnection
Source§impl PartialEq for ShapeConnection
impl PartialEq for ShapeConnection
impl StructuralPartialEq for ShapeConnection
Auto Trait Implementations§
impl Freeze for ShapeConnection
impl RefUnwindSafe for ShapeConnection
impl Send for ShapeConnection
impl Sync for ShapeConnection
impl Unpin for ShapeConnection
impl UnsafeUnpin for ShapeConnection
impl UnwindSafe for ShapeConnection
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.