pub struct DocumentTabsConfig {
pub new_label: String,
pub close_label: String,
pub can_add: bool,
}Expand description
Localized document-tab chrome. Native callbacks emit stable route keys.
Fields§
§new_label: String§close_label: String§can_add: boolTrait Implementations§
Source§impl Clone for DocumentTabsConfig
impl Clone for DocumentTabsConfig
Source§fn clone(&self) -> DocumentTabsConfig
fn clone(&self) -> DocumentTabsConfig
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 DocumentTabsConfig
impl Debug for DocumentTabsConfig
Source§impl Default for DocumentTabsConfig
impl Default for DocumentTabsConfig
Source§fn default() -> DocumentTabsConfig
fn default() -> DocumentTabsConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for DocumentTabsConfig
impl PartialEq for DocumentTabsConfig
impl StructuralPartialEq for DocumentTabsConfig
Auto Trait Implementations§
impl Freeze for DocumentTabsConfig
impl RefUnwindSafe for DocumentTabsConfig
impl Send for DocumentTabsConfig
impl Sync for DocumentTabsConfig
impl Unpin for DocumentTabsConfig
impl UnsafeUnpin for DocumentTabsConfig
impl UnwindSafe for DocumentTabsConfig
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