Struct rcocos2d_sys::cocos2d_CCMenuItemImage[][src]

#[repr(C)]
pub struct cocos2d_CCMenuItemImage { pub _base: cocos2d_CCMenuItemSprite, }
Expand description

@brief CCMenuItemImage accepts images as items. The images has 3 different states:

  • unselected image
  • selected image
  • disabled image

For best results try that all images are of the same size

Fields

_base: cocos2d_CCMenuItemSprite

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.