pub struct Searched<'a> {
pub element: &'a StreamElement,
pub offset: FloatType,
pub measure: Option<IntegerType>,
}Expand description
One element of a stream as a search meets it, with where it is: what music21’s stream iterators hand a search.
Fields§
§element: &'a StreamElementThe element.
offset: FloatTypeWhere it starts in the stream searched.
measure: Option<IntegerType>The number of the measure it is in, if it is in one: music21’s
measureNumber.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Searched<'a>
impl<'a> RefUnwindSafe for Searched<'a>
impl<'a> Send for Searched<'a>
impl<'a> Sync for Searched<'a>
impl<'a> Unpin for Searched<'a>
impl<'a> UnsafeUnpin for Searched<'a>
impl<'a> UnwindSafe for Searched<'a>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more