pub struct ResolvedLocation {
pub chapter: ChapterRef,
pub fragment: Option<String>,
pub position: ReadingPosition,
}Expand description
Fully resolved location information returned from locator APIs.
Fields§
§chapter: ChapterRefResolved chapter descriptor.
fragment: Option<String>Optional resolved fragment (without leading ‘#’).
position: ReadingPositionCanonical position payload for persistence.
Trait Implementations§
Source§impl Clone for ResolvedLocation
impl Clone for ResolvedLocation
Source§fn clone(&self) -> ResolvedLocation
fn clone(&self) -> ResolvedLocation
Returns a duplicate 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 moreSource§impl Debug for ResolvedLocation
impl Debug for ResolvedLocation
Source§impl PartialEq for ResolvedLocation
impl PartialEq for ResolvedLocation
impl Eq for ResolvedLocation
impl StructuralPartialEq for ResolvedLocation
Auto Trait Implementations§
impl Freeze for ResolvedLocation
impl RefUnwindSafe for ResolvedLocation
impl Send for ResolvedLocation
impl Sync for ResolvedLocation
impl Unpin for ResolvedLocation
impl UnsafeUnpin for ResolvedLocation
impl UnwindSafe for ResolvedLocation
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