pub struct LocatorIdentity { /* private fields */ }Expand description
Canonical current locator identity used to find known media.
A single-file identity has no sequence naming. An image-sequence identity combines its directory URI with the exact naming descriptor, so different sequences in one directory remain distinct.
Implementations§
Source§impl LocatorIdentity
impl LocatorIdentity
Sourcepub fn new(
uri: impl Into<String>,
sequence_naming: Option<SequenceNaming>,
) -> Result<Self>
pub fn new( uri: impl Into<String>, sequence_naming: Option<SequenceNaming>, ) -> Result<Self>
Sourcepub const fn sequence_naming(&self) -> Option<&SequenceNaming>
pub const fn sequence_naming(&self) -> Option<&SequenceNaming>
Returns the exact sequence naming, when this identifies an image sequence.
Trait Implementations§
Source§impl Clone for LocatorIdentity
impl Clone for LocatorIdentity
Source§fn clone(&self) -> LocatorIdentity
fn clone(&self) -> LocatorIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocatorIdentity
impl Debug for LocatorIdentity
impl Eq for LocatorIdentity
Source§impl PartialEq for LocatorIdentity
impl PartialEq for LocatorIdentity
impl StructuralPartialEq for LocatorIdentity
Auto Trait Implementations§
impl Freeze for LocatorIdentity
impl RefUnwindSafe for LocatorIdentity
impl Send for LocatorIdentity
impl Sync for LocatorIdentity
impl Unpin for LocatorIdentity
impl UnsafeUnpin for LocatorIdentity
impl UnwindSafe for LocatorIdentity
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