pub struct InteractiveContainer { /* private fields */ }Expand description
交互容器
Implementations§
Source§impl InteractiveContainer
impl InteractiveContainer
pub fn new() -> Self
pub fn width(self, width: &str) -> Self
pub fn height(self, height: &str) -> Self
pub fn background_style(self, background_style: &str) -> Self
pub fn has_border(self, has_border: bool) -> Self
pub fn border_color(self, border_color: &str) -> Self
pub fn corner_radius(self, corner_radius: &str) -> Self
pub fn padding(self, padding: &str) -> Self
pub fn behaviors(self, behaviors: Vec<Behaviors>) -> Self
pub fn hover_tips(self, hover_tips: PlainText) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn disabled_tips(self, disabled_tips: PlainText) -> Self
pub fn confirm(self, confirm: InputConfirm) -> Self
pub fn elements(self, elements: Vec<CardElement>) -> Self
Trait Implementations§
Source§impl Debug for InteractiveContainer
impl Debug for InteractiveContainer
Source§impl Default for InteractiveContainer
impl Default for InteractiveContainer
Source§impl<'de> Deserialize<'de> for InteractiveContainer
impl<'de> Deserialize<'de> for InteractiveContainer
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
Auto Trait Implementations§
impl Freeze for InteractiveContainer
impl RefUnwindSafe for InteractiveContainer
impl Send for InteractiveContainer
impl Sync for InteractiveContainer
impl Unpin for InteractiveContainer
impl UnwindSafe for InteractiveContainer
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