pub struct ContentLocator { /* private fields */ }Implementations§
Source§impl ContentLocator
impl ContentLocator
pub const fn method(&self) -> &LocatorMethod
pub const fn uses_default_locator(&self) -> bool
pub const fn content_target(&self) -> &ContentTarget
Trait Implementations§
Source§impl Clone for ContentLocator
impl Clone for ContentLocator
Source§fn clone(&self) -> ContentLocator
fn clone(&self) -> ContentLocator
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 ContentLocator
impl Debug for ContentLocator
Auto Trait Implementations§
impl Freeze for ContentLocator
impl RefUnwindSafe for ContentLocator
impl Send for ContentLocator
impl Sync for ContentLocator
impl Unpin for ContentLocator
impl UnwindSafe for ContentLocator
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