pub struct ChapterId(pub Box<[u8]>);
Expand description
A chapter identifier.
This is internally a byte array. Any type may be used as a chapter
identifier, as long as it implements Into<ChapterId>
.
Tuple Fields§
§0: Box<[u8]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChapterId
impl RefUnwindSafe for ChapterId
impl Send for ChapterId
impl Sync for ChapterId
impl Unpin for ChapterId
impl UnwindSafe for ChapterId
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