Struct basalt::interface::interface::Interface[][src]

pub struct Interface { /* fields omitted */ }

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.