zellij_utils/opt/rustwide/workdir/assets/prost/
api.pane_frame_style.rs1#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
3#[repr(i32)]
4pub enum PaneFrameStyle {
5 Full = 0,
6 Titles = 1,
7 None = 2,
8}
9impl PaneFrameStyle {
10 pub fn as_str_name(&self) -> &'static str {
15 match self {
16 PaneFrameStyle::Full => "Full",
17 PaneFrameStyle::Titles => "Titles",
18 PaneFrameStyle::None => "None",
19 }
20 }
21 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
23 match value {
24 "Full" => Some(Self::Full),
25 "Titles" => Some(Self::Titles),
26 "None" => Some(Self::None),
27 _ => None,
28 }
29 }
30}