Struct basalt::interface::interface::Interface [−][src]
pub struct Interface { /* fields omitted */ }
Implementations
impl Interface
[src]
impl Interface
[src]pub fn msaa(&self) -> BstMSAALevel
[src]
pub fn set_msaa(&self, amt: BstMSAALevel)
[src]
pub fn increase_msaa(&self)
[src]
pub fn decrease_msaa(&self)
[src]
pub fn get_bin_id_atop(&self, x: f32, y: f32) -> Option<u64>
[src]
pub fn get_bin_atop(&self, x: f32, y: f32) -> Option<Arc<Bin>>
[src]
pub fn bins(&self) -> Vec<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, mouse_x: f32, mouse_y: f32) -> bool
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl !UnwindSafe for Interface
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for 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 ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,