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