Struct oxygengine_composite_renderer::tileset_asset_protocol::TilesetInfo [−][src]
Fields
image: Stringcols: usizerows: usizetile_width: Scalartile_height: Scalarpadding_col: Scalarpadding_row: Scalarmargin_col: Scalarmargin_row: ScalarImplementations
impl TilesetInfo[src]
pub fn image_name(&self) -> String[src]
pub fn tiles(&self) -> usize[src]
pub fn frame(&self, col: usize, row: usize) -> Option<Rect>[src]
Trait Implementations
impl Clone for TilesetInfo[src]
fn clone(&self) -> TilesetInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TilesetInfo[src]
impl<'de> Deserialize<'de> for TilesetInfo[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for TilesetInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for TilesetInfo
impl Send for TilesetInfo
impl Sync for TilesetInfo
impl Unpin for TilesetInfo
impl UnwindSafe for TilesetInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
pub fn get_type_id(&self) -> TypeId
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
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> Resource for T where
T: Any,
T: Any,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,