Trait fixity::core::workspace::AsWorkspaceRef [−][src]
pub trait AsWorkspaceRef { type Workspace: Workspace; fn as_workspace_ref(&self) -> &Self::Workspace; }
A helper trait to allow a single T
to return references to both a Workspace
and
a Cache
.
See Commit
for example usage.
Associated Types
Loading content...Required methods
fn as_workspace_ref(&self) -> &Self::Workspace
[src]
Implementors
impl<C, W> AsWorkspaceRef for Bytes<'_, C, W> where
W: Workspace,
[src]
W: Workspace,
type Workspace = W
fn as_workspace_ref(&self) -> &Self::Workspace
[src]
impl<C, W> AsWorkspaceRef for Fixity<C, W> where
W: Workspace,
[src]
W: Workspace,
type Workspace = W
fn as_workspace_ref(&self) -> &Self::Workspace
[src]
impl<C, W> AsWorkspaceRef for Map<'_, C, W> where
W: Workspace,
[src]
W: Workspace,