pub struct URLRef(/* private fields */);
Expand description
A borrowed reference to a URL
.
Implementations§
Trait Implementations§
Source§impl BorrowMut<URLRef> for URL
impl BorrowMut<URLRef> for URL
Source§fn borrow_mut(&mut self) -> &mut URLRef
fn borrow_mut(&mut self) -> &mut URLRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for URLRef
impl ForeignTypeRef for URLRef
Source§impl Message for URLRef
impl Message for URLRef
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Source§impl ToOwned for URLRef
impl ToOwned for URLRef
impl Send for URLRef
impl Sync for URLRef
Auto Trait Implementations§
impl Freeze for URLRef
impl !RefUnwindSafe for URLRef
impl Unpin for URLRef
impl UnwindSafe for URLRef
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