pub struct SongRef {
pub title: BStr,
pub idx: usize,
}
Fields§
§title: BStr
§idx: usize
index of the song in the Book::songs vector
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SongRef
impl Send for SongRef
impl Sync for SongRef
impl Unpin for SongRef
impl UnwindSafe for SongRef
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