Skip to main content

ToUrl

Trait ToUrl 

Source
pub trait ToUrl {
    // Required method
    fn to_url(&self, vfs: &dyn VirtualFileSystem) -> Fallible<Url>;
}

Required Methods§

Source

fn to_url(&self, vfs: &dyn VirtualFileSystem) -> Fallible<Url>

Implementations on Foreign Types§

Source§

impl ToUrl for str

Source§

fn to_url(&self, _vfs: &dyn VirtualFileSystem) -> Fallible<Url>

Source§

impl ToUrl for Path

Source§

fn to_url(&self, vfs: &dyn VirtualFileSystem) -> Fallible<Url>

Source§

impl ToUrl for Url

Source§

fn to_url(&self, _vfs: &dyn VirtualFileSystem) -> Fallible<Url>

Implementors§