pub struct PreviewPanelConfig {
pub size: u16,
pub header: Option<Template>,
pub footer: Option<Template>,
pub scrollbar: bool,
pub border_type: BorderType,
pub padding: Padding,
pub word_wrap: bool,
pub hidden: bool,
}Fields§
§size: u16§header: Option<Template>§scrollbar: bool§border_type: BorderType§padding: Padding§word_wrap: boolTrait Implementations§
Source§impl Clone for PreviewPanelConfig
impl Clone for PreviewPanelConfig
Source§fn clone(&self) -> PreviewPanelConfig
fn clone(&self) -> PreviewPanelConfig
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 PreviewPanelConfig
impl Debug for PreviewPanelConfig
Source§impl Default for PreviewPanelConfig
impl Default for PreviewPanelConfig
Source§impl<'de> Deserialize<'de> for PreviewPanelConfigwhere
PreviewPanelConfig: Default,
impl<'de> Deserialize<'de> for PreviewPanelConfigwhere
PreviewPanelConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PreviewPanelConfig
impl Hash for PreviewPanelConfig
Source§impl PartialEq for PreviewPanelConfig
impl PartialEq for PreviewPanelConfig
Source§impl Serialize for PreviewPanelConfig
impl Serialize for PreviewPanelConfig
impl StructuralPartialEq for PreviewPanelConfig
Auto Trait Implementations§
impl Freeze for PreviewPanelConfig
impl RefUnwindSafe for PreviewPanelConfig
impl Send for PreviewPanelConfig
impl Sync for PreviewPanelConfig
impl Unpin for PreviewPanelConfig
impl UnsafeUnpin for PreviewPanelConfig
impl UnwindSafe for PreviewPanelConfig
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more