Struct tk::types::TkGeometry
source · pub struct TkGeometry {
pub w: c_int,
pub h: c_int,
pub x: c_int,
pub y: c_int,
}
Fields§
§w: c_int
§h: c_int
§x: c_int
§y: c_int
Trait Implementations§
source§impl Debug for TkGeometry
impl Debug for TkGeometry
source§impl Default for TkGeometry
impl Default for TkGeometry
source§fn default() -> TkGeometry
fn default() -> TkGeometry
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TkGeometry
impl<'de> Deserialize<'de> for TkGeometry
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
source§impl Display for TkGeometry
impl Display for TkGeometry
source§impl From<TkGeometry> for Obj
impl From<TkGeometry> for Obj
source§fn from(geometry: TkGeometry) -> Obj
fn from(geometry: TkGeometry) -> Obj
Converts to this type from the input type.
source§impl FromStr for TkGeometry
impl FromStr for TkGeometry
Auto Trait Implementations§
impl RefUnwindSafe for TkGeometry
impl Send for TkGeometry
impl Sync for TkGeometry
impl Unpin for TkGeometry
impl UnwindSafe for TkGeometry
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