Trait TryAsSpace

Source
pub trait TryAsSpace {
    // Required method
    fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>;
}

Required Methods§

Source

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Implementations on Foreign Types§

Source§

impl TryAsSpace for &[&[u8]]

Source§

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Source§

impl TryAsSpace for (Domain, GroupID, &LkPath)

Source§

fn try_as_space(&self, _scope: &dyn LkEnv) -> Result<Space>

Source§

impl TryAsSpace for str

The full space expression format “domain:group:/some/path”

Source§

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Source§

impl TryAsSpace for SpaceExpr

Source§

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Source§

impl<T: TryAsSpace + Sized> TryAsSpace for (Domain, T)

Source§

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Source§

impl<T: TryAsSpace + ?Sized> TryAsSpace for &T

Source§

fn try_as_space(&self, scope: &dyn LkEnv) -> Result<Space>

Implementors§