pub enum HeaderSlot {
Left,
Right,
Title,
Header,
}Expand description
Where a header item goes (<headeritem slot>).
Variants§
Left
Leading, after the back button.
Right
Trailing.
Title
Replaces the title.
Header
Replaces the whole bar (header), where the platform draws it.
Trait Implementations§
Source§impl Clone for HeaderSlot
impl Clone for HeaderSlot
impl Copy for HeaderSlot
Source§impl Debug for HeaderSlot
impl Debug for HeaderSlot
Source§impl Default for HeaderSlot
impl Default for HeaderSlot
impl Eq for HeaderSlot
Source§impl HostValue for HeaderSlot
impl HostValue for HeaderSlot
Source§impl JsValue for HeaderSlot
impl JsValue for HeaderSlot
Source§impl PartialEq for HeaderSlot
impl PartialEq for HeaderSlot
Source§impl PropEnum for HeaderSlot
impl PropEnum for HeaderSlot
impl StructuralPartialEq for HeaderSlot
Auto Trait Implementations§
impl Forget for HeaderSlot
impl Freeze for HeaderSlot
impl Move for HeaderSlot
impl RefUnwindSafe for HeaderSlot
impl Send for HeaderSlot
impl Sync for HeaderSlot
impl Unpin for HeaderSlot
impl UnsafeUnpin for HeaderSlot
impl UnwindSafe for HeaderSlot
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> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.