Window position property not working in sway compositor

Hello Team
I am trying to run an iced application on sway compositor.
my application is always running in center of sway compositor window irrespective of specified window position.

iced: window::Settings {
    size: (100, 30),
    position: iced::window::Position::Specific(0, 0),

Am I missing anything?

It looks like winit—the library we use for our windowing shell­—only supports setting the window position for Windows, macOS, and X11 on Linux.

Thanks for reply
What can be a possible solution here to make this work?

I am new to sway, this is what it says
Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It works with your existing i3 configuration and supports most of i3’s features, plus a few extras.

I don’t think Wayland allows for top-level windows to be moved at all.

I am using Hyprland (a Wayland compositor) and it allows any floating window to be moved. not sure if that means the same thing as top level windows But just wanted you to know. Actually any windows can be moved either keyboard or mouse similar to any tiling window manager