pub struct SnapLayoutArea { /* private fields */ }Implementations§
Source§impl SnapLayoutArea
impl SnapLayoutArea
pub fn new() -> Self
pub fn padding_left(self, padding_left: i32) -> Self
pub fn padding_right(self, padding_right: i32) -> Self
pub fn padding_top(self, padding_top: i32) -> Self
pub fn padding_bottom(self, padding_bottom: i32) -> Self
pub fn padding_all(self, padding_all: i32) -> Self
pub fn display(self, is_display: bool) -> Self
pub fn debug_color(self, color: impl Into<String>) -> Self
pub fn cursor(self, cursor: SnapCursor) -> Self
pub fn build<R: Runtime>(self) -> TauriPlugin<R>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnapLayoutArea
impl RefUnwindSafe for SnapLayoutArea
impl Send for SnapLayoutArea
impl Sync for SnapLayoutArea
impl Unpin for SnapLayoutArea
impl UnsafeUnpin for SnapLayoutArea
impl UnwindSafe for SnapLayoutArea
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