pub struct Reserved {
pub role: &'static str,
pub path: &'static str,
pub owner: &'static str,
}Expand description
A mount whose meaning is fixed: the role it serves, the path it is at, and the id of the surface that must hold it.
Fields§
§role: &'static strWhat the mount is for, in one word; the key the generated topology publishes it under.
path: &'static strThe path, exactly as the constant that declares it carries it.
owner: &'static strThe surface that must own it.
Trait Implementations§
impl Copy for Reserved
impl Eq for Reserved
impl StructuralPartialEq for Reserved
Auto Trait Implementations§
impl Freeze for Reserved
impl RefUnwindSafe for Reserved
impl Send for Reserved
impl Sync for Reserved
impl Unpin for Reserved
impl UnsafeUnpin for Reserved
impl UnwindSafe for Reserved
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.