Enum tauri_plugin_positioner::Position
source · [−]#[repr(u16)]
pub enum Position {
TopLeft,
TopRight,
BottomLeft,
BottomRight,
TopCenter,
BottomCenter,
LeftCenter,
RightCenter,
Center,
}Expand description
Well known window positions.
Variants
TopLeft
TopRight
BottomLeft
BottomRight
TopCenter
BottomCenter
LeftCenter
RightCenter
Center
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Position
impl<'de> Deserialize<'de> for Position
sourcefn 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 RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'de, D, R> CommandArg<'de, R> for D where
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for D where
D: Deserialize<'de>,
R: Runtime,
sourcepub fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
pub fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
Derives an instance of Self from the CommandItem. Read more