pub struct CodeIcon {
pub quad: Quad,
}
Fields§
§quad: Quad
Implementations§
Source§impl CodeIcon
impl CodeIcon
pub fn proto(cx: &mut Cx) -> Self
pub fn walk() -> WalkId
pub fn style(cx: &mut Cx, opt: &StyleOptions)
pub fn instance_icon_id() -> InstanceFloat
pub fn def_code_icon_shader() -> ShaderGen
pub fn draw_icon( &mut self, cx: &mut Cx, icon_type: CodeIconType, ) -> InstanceArea
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeIcon
impl RefUnwindSafe for CodeIcon
impl Send for CodeIcon
impl Sync for CodeIcon
impl Unpin for CodeIcon
impl UnwindSafe for CodeIcon
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more