Struct basalt::interface::interface::Interface [−][src]
Implementations
impl Interface
[src]
pub fn msaa(&self) -> u32
[src]
pub fn set_msaa(&self, amt: u32) -> Result<(), String>
[src]
pub fn increase_msaa(&self)
[src]
pub fn decrease_msaa(&self)
[src]
pub fn get_bin_id_atop(&self, mut x: f32, mut y: f32) -> Option<u64>
[src]
pub fn get_bin_atop(&self, mut x: f32, mut y: f32) -> Option<Arc<Bin>>
[src]
pub fn bins(&self) -> Vec<Arc<Bin>>
[src]
Returns a list of all bins that have a strong reference. Note keeping this list will keep all bins returned alive and prevent them from being dropped. This list should be dropped asap to prevent issues with bins being dropped.
pub fn new_bins(&self, amt: usize) -> Vec<Arc<Bin>>
[src]
pub fn new_bin(&self) -> Arc<Bin>
[src]
pub fn get_bin(&self, id: u64) -> Option<Arc<Bin>>
[src]
pub fn mouse_inside(&self, mut mouse_x: f32, mut mouse_y: f32) -> bool
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Interface
[src]
impl Send for Interface
[src]
impl Sync for Interface
[src]
impl Unpin for Interface
[src]
impl !UnwindSafe for Interface
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub 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>,