[−][src]Struct thirtyfour_sync::OptionRect
Fields
x: Option<i32>
y: Option<i32>
width: Option<i32>
height: Option<i32>
Implementations
impl OptionRect
[src]
pub fn new() -> OptionRect
[src]
pub fn with_x(self, value: i32) -> OptionRect
[src]
pub fn with_y(self, value: i32) -> OptionRect
[src]
pub fn with_width(self, value: i32) -> OptionRect
[src]
pub fn with_height(self, value: i32) -> OptionRect
[src]
pub fn with_pos(self, x: i32, y: i32) -> OptionRect
[src]
pub fn with_size(self, width: i32, height: i32) -> OptionRect
[src]
Trait Implementations
impl Clone for OptionRect
[src]
fn clone(&self) -> OptionRect
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OptionRect
[src]
impl Default for OptionRect
[src]
fn default() -> OptionRect
[src]
impl Eq for OptionRect
[src]
impl From<Rect> for OptionRect
[src]
fn from(value: Rect) -> OptionRect
[src]
impl PartialEq<OptionRect> for OptionRect
[src]
fn eq(&self, other: &OptionRect) -> bool
[src]
fn ne(&self, other: &OptionRect) -> bool
[src]
impl Serialize for OptionRect
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for OptionRect
[src]
impl StructuralPartialEq for OptionRect
[src]
Auto Trait Implementations
impl RefUnwindSafe for OptionRect
impl Send for OptionRect
impl Sync for OptionRect
impl Unpin for OptionRect
impl UnwindSafe for OptionRect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,