Trait ToLower

Source
pub trait ToLower<T>: Clone {
    // Provided methods
    fn into_lower(self) -> T { ... }
    fn to_lower(&self) -> T { ... }
}
Expand description

Convert to a lower level of abstraction. Example: A Solid into a Block.

Provided Methods§

Source

fn into_lower(self) -> T

Convert to a lower level of abstraction. See ToLower

Source

fn to_lower(&self) -> T

Convert to an owned lower level of abstraction. See ToLower

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> ToLower<Block<Cow<'a, str>>> for DispInfo

Source§

impl<'a> ToLower<Block<Cow<'a, str>>> for Entity<Cow<'a, str>>

Source§

impl<'a> ToLower<Block<Cow<'a, str>>> for Side<'a>

Source§

impl<'a> ToLower<Block<Cow<'a, str>>> for Solid<'a>

Source§

impl<'a> ToLower<Vmf<Cow<'a, str>>> for Map<'a>

Source§

impl<'a, S> ToLower<Entity<S>> for EnvFogController<S>
where S: AsRef<str> + Clone + From<&'a str> + From<String>,

Source§

impl<'a, S> ToLower<Entity<S>> for LightEnviroment<S>
where S: AsRef<str> + Clone + From<&'a str> + From<String>,

Source§

impl<'a, S> ToLower<Entity<S>> for PointEntity<S>
where S: AsRef<str> + Clone + From<&'a str> + From<String>,

Source§

impl<'a, S> ToLower<Entity<S>> for ShadowControl<S>
where S: AsRef<str> + Clone + From<&'a str> + From<String>,