pub struct LayoutBackend {
pub name: &'static str,
pub priority: i32,
pub engine: fn() -> Box<dyn LayoutEngine>,
}Expand description
One layout engine: its name, its rank, and how to make it.
Fields§
§name: &'static strThe name the engine is registered under.
priority: i32Install order preference: the highest-priority engine is the one a launch installs.
engine: fn() -> Box<dyn LayoutEngine>The engine, not yet installed. Construction does no work;
LayoutEngine::install does.
Trait Implementations§
Source§impl BackendEntry for LayoutBackend
impl BackendEntry for LayoutBackend
Source§impl Clone for LayoutBackend
impl Clone for LayoutBackend
Source§fn clone(&self) -> LayoutBackend
fn clone(&self) -> LayoutBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutBackend
impl Debug for LayoutBackend
impl Copy for LayoutBackend
Auto Trait Implementations§
impl Freeze for LayoutBackend
impl RefUnwindSafe for LayoutBackend
impl Send for LayoutBackend
impl Sync for LayoutBackend
impl Unpin for LayoutBackend
impl UnsafeUnpin for LayoutBackend
impl UnwindSafe for LayoutBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.