Struct rute::auto::rect_f_ffi::RURectFFuncs
source · #[repr(C)]pub struct RURectFFuncs {Show 55 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_valid: extern "C" fn(self_c: *const RUBase) -> bool,
pub normalized: extern "C" fn(self_c: *const RUBase) -> RURectF,
pub left: extern "C" fn(self_c: *const RUBase) -> f32,
pub top: extern "C" fn(self_c: *const RUBase) -> f32,
pub right: extern "C" fn(self_c: *const RUBase) -> f32,
pub bottom: extern "C" fn(self_c: *const RUBase) -> f32,
pub x: extern "C" fn(self_c: *const RUBase) -> f32,
pub y: extern "C" fn(self_c: *const RUBase) -> f32,
pub set_left: extern "C" fn(self_c: *const RUBase, pos: f32),
pub set_top: extern "C" fn(self_c: *const RUBase, pos: f32),
pub set_right: extern "C" fn(self_c: *const RUBase, pos: f32),
pub set_bottom: extern "C" fn(self_c: *const RUBase, pos: f32),
pub set_x: extern "C" fn(self_c: *const RUBase, pos: f32),
pub set_y: extern "C" fn(self_c: *const RUBase, pos: f32),
pub top_left: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub bottom_right: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub top_right: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub bottom_left: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub center: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub set_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_left: extern "C" fn(self_c: *const RUBase, pos: f32),
pub move_top: extern "C" fn(self_c: *const RUBase, pos: f32),
pub move_right: extern "C" fn(self_c: *const RUBase, pos: f32),
pub move_bottom: extern "C" fn(self_c: *const RUBase, pos: f32),
pub move_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_center: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_to: extern "C" fn(self_c: *const RUBase, x: f32, y: f32),
pub move_to_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_rect: extern "C" fn(self_c: *const RUBase, x: f32, y: f32, w: f32, h: f32),
pub set_coords: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32),
pub adjust: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32),
pub adjusted: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32) -> RURectF,
pub size: extern "C" fn(self_c: *const RUBase) -> RUSizeF,
pub width: extern "C" fn(self_c: *const RUBase) -> f32,
pub height: extern "C" fn(self_c: *const RUBase) -> f32,
pub set_width: extern "C" fn(self_c: *const RUBase, w: f32),
pub set_height: extern "C" fn(self_c: *const RUBase, h: f32),
pub set_size: extern "C" fn(self_c: *const RUBase, s: *const RUBase),
pub contains: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool,
pub contains_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> bool,
pub contains_3: extern "C" fn(self_c: *const RUBase, x: f32, y: f32) -> bool,
pub united: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURectF,
pub intersected: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURectF,
pub intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool,
pub to_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
pub to_aligned_rect: extern "C" fn(self_c: *const RUBase) -> RURect,
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
is_empty: extern "C" fn(self_c: *const RUBase) -> bool
is_valid: extern "C" fn(self_c: *const RUBase) -> bool
normalized: extern "C" fn(self_c: *const RUBase) -> RURectF
left: extern "C" fn(self_c: *const RUBase) -> f32
top: extern "C" fn(self_c: *const RUBase) -> f32
right: extern "C" fn(self_c: *const RUBase) -> f32
bottom: extern "C" fn(self_c: *const RUBase) -> f32
x: extern "C" fn(self_c: *const RUBase) -> f32
y: extern "C" fn(self_c: *const RUBase) -> f32
set_left: extern "C" fn(self_c: *const RUBase, pos: f32)
set_top: extern "C" fn(self_c: *const RUBase, pos: f32)
set_right: extern "C" fn(self_c: *const RUBase, pos: f32)
set_bottom: extern "C" fn(self_c: *const RUBase, pos: f32)
set_x: extern "C" fn(self_c: *const RUBase, pos: f32)
set_y: extern "C" fn(self_c: *const RUBase, pos: f32)
top_left: extern "C" fn(self_c: *const RUBase) -> RUPointF
bottom_right: extern "C" fn(self_c: *const RUBase) -> RUPointF
top_right: extern "C" fn(self_c: *const RUBase) -> RUPointF
bottom_left: extern "C" fn(self_c: *const RUBase) -> RUPointF
center: extern "C" fn(self_c: *const RUBase) -> RUPointF
set_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_left: extern "C" fn(self_c: *const RUBase, pos: f32)
move_top: extern "C" fn(self_c: *const RUBase, pos: f32)
move_right: extern "C" fn(self_c: *const RUBase, pos: f32)
move_bottom: extern "C" fn(self_c: *const RUBase, pos: f32)
move_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_center: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_to: extern "C" fn(self_c: *const RUBase, x: f32, y: f32)
move_to_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_rect: extern "C" fn(self_c: *const RUBase, x: f32, y: f32, w: f32, h: f32)
set_coords: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32)
adjust: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32)
adjusted: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32) -> RURectF
size: extern "C" fn(self_c: *const RUBase) -> RUSizeF
width: extern "C" fn(self_c: *const RUBase) -> f32
height: extern "C" fn(self_c: *const RUBase) -> f32
set_width: extern "C" fn(self_c: *const RUBase, w: f32)
set_height: extern "C" fn(self_c: *const RUBase, h: f32)
set_size: extern "C" fn(self_c: *const RUBase, s: *const RUBase)
contains: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool
contains_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> bool
contains_3: extern "C" fn(self_c: *const RUBase, x: f32, y: f32) -> bool
united: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURectF
intersected: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURectF
intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool
to_rect: extern "C" fn(self_c: *const RUBase) -> RURect
to_aligned_rect: extern "C" fn(self_c: *const RUBase) -> RURect
Trait Implementations
sourceimpl Clone for RURectFFuncs
impl Clone for RURectFFuncs
sourcefn clone(&self) -> RURectFFuncs
fn clone(&self) -> RURectFFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RURectFFuncs
Auto Trait Implementations
impl RefUnwindSafe for RURectFFuncs
impl Send for RURectFFuncs
impl Sync for RURectFFuncs
impl Unpin for RURectFFuncs
impl UnwindSafe for RURectFFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more