pub enum HeaderTitleAlign {
Left,
Center,
}Expand description
Where a page’s title sits in the native header (headerTitleAlign).
Android’s toolbar honors it. iOS’s system bar always centers the title
and ignores the value; the desktops and the web draw no native header.
Variants§
Left
At the start, after the back button or the leading item (Android’s default).
Center
Centered across the header, between the leading and trailing items.
Trait Implementations§
Source§impl Clone for HeaderTitleAlign
impl Clone for HeaderTitleAlign
impl Copy for HeaderTitleAlign
Source§impl Debug for HeaderTitleAlign
impl Debug for HeaderTitleAlign
Source§impl Default for HeaderTitleAlign
impl Default for HeaderTitleAlign
impl Eq for HeaderTitleAlign
Source§impl HostValue for HeaderTitleAlign
impl HostValue for HeaderTitleAlign
Source§impl IntoReactive<HeaderTitleAlign> for HeaderTitleAlign
impl IntoReactive<HeaderTitleAlign> for HeaderTitleAlign
Source§fn into_reactive(self) -> Reactive<HeaderTitleAlign>
fn into_reactive(self) -> Reactive<HeaderTitleAlign>
As a
Reactive.Source§impl JsValue for HeaderTitleAlign
impl JsValue for HeaderTitleAlign
Source§impl PartialEq for HeaderTitleAlign
impl PartialEq for HeaderTitleAlign
Source§impl PropEnum for HeaderTitleAlign
impl PropEnum for HeaderTitleAlign
impl StructuralPartialEq for HeaderTitleAlign
Auto Trait Implementations§
impl Forget for HeaderTitleAlign
impl Freeze for HeaderTitleAlign
impl Move for HeaderTitleAlign
impl RefUnwindSafe for HeaderTitleAlign
impl Send for HeaderTitleAlign
impl Sync for HeaderTitleAlign
impl Unpin for HeaderTitleAlign
impl UnsafeUnpin for HeaderTitleAlign
impl UnwindSafe for HeaderTitleAlign
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.