Struct wavedrom::SignalPathSegment
source · pub struct SignalPathSegment { /* private fields */ }
Expand description
A segment in an AssembledSignalPath
Implementations§
source§impl SignalPathSegment
impl SignalPathSegment
sourcepub fn background(&self) -> Option<&PathSegmentBackground>
pub fn background(&self) -> Option<&PathSegmentBackground>
Returns the possible background for a segment.
sourcepub fn is_fully_stroked(&self) -> bool
pub fn is_fully_stroked(&self) -> bool
Returns whether all the PathCommand
s are stroked.
sourcepub fn actions(&self) -> &[PathCommand]
pub fn actions(&self) -> &[PathCommand]
Returns the set of PathCommand
s that this segment defines.
sourcepub fn clock_edge_markers(&self) -> &[ClockEdgeMarker]
pub fn clock_edge_markers(&self) -> &[ClockEdgeMarker]
Returns the clock edge markers that a segment might contain.
sourcepub fn gaps(&self) -> &[CycleOffset]
pub fn gaps(&self) -> &[CycleOffset]
Returns the gaps that a segment might contain.
sourcepub fn marker_text(&self) -> Option<&str>
pub fn marker_text(&self) -> Option<&str>
Returns the possible marker text that a segment contains.
Trait Implementations§
source§impl Clone for SignalPathSegment
impl Clone for SignalPathSegment
source§fn clone(&self) -> SignalPathSegment
fn clone(&self) -> SignalPathSegment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SignalPathSegment
impl Send for SignalPathSegment
impl Sync for SignalPathSegment
impl Unpin for SignalPathSegment
impl UnwindSafe for SignalPathSegment
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