Enum cocoa::quartzcore::ContentsGravity
source · pub enum ContentsGravity {
Show 13 variants
Center,
Top,
Bottom,
Left,
Right,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
Resize,
ResizeAspect,
ResizeAspectFill,
Other(CFString),
}
Variants§
Center
Top
Bottom
Left
Right
TopLeft
TopRight
BottomLeft
BottomRight
Resize
ResizeAspect
ResizeAspectFill
Other(CFString)
Trait Implementations§
source§impl Clone for ContentsGravity
impl Clone for ContentsGravity
source§fn clone(&self) -> ContentsGravity
fn clone(&self) -> ContentsGravity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContentsGravity
impl Debug for ContentsGravity
source§impl PartialEq<ContentsGravity> for ContentsGravity
impl PartialEq<ContentsGravity> for ContentsGravity
source§fn eq(&self, other: &ContentsGravity) -> bool
fn eq(&self, other: &ContentsGravity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContentsGravity
Auto Trait Implementations§
impl RefUnwindSafe for ContentsGravity
impl !Send for ContentsGravity
impl !Sync for ContentsGravity
impl Unpin for ContentsGravity
impl UnwindSafe for ContentsGravity
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