pub struct Btn { /* private fields */ }Implementations§
Source§impl Btn
impl Btn
pub fn new(api: &str) -> Self
pub fn addon(&mut self) -> &mut Self
pub fn path(&mut self, path: &str) -> &mut Self
pub fn cnd(&mut self, cnd: Vec<JsonValue>) -> &mut Self
pub fn btn_type(&mut self, btn_type: BtnType) -> &mut Self
pub fn btn_color(&mut self, btn_color: BtnColor) -> &mut Self
pub fn fields(&mut self, fields: JsonValue) -> &mut Self
pub fn pass(&mut self, pass: bool) -> &mut Self
pub fn url(&mut self, url: &str) -> &mut Self
pub fn title(&mut self, title: &str) -> &mut Self
pub fn desc(&mut self, desc: &str) -> &mut Self
pub fn public(&mut self, public: bool) -> &mut Self
pub fn auth(&mut self, auth: bool) -> &mut Self
pub fn icon(&mut self, icon: &str) -> &mut Self
pub fn json(&mut self) -> JsonValue
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Btn
impl RefUnwindSafe for Btn
impl Send for Btn
impl Sync for Btn
impl Unpin for Btn
impl UnwindSafe for Btn
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