Docs.rs
makepad-shader-compiler-0.3.0
makepad-shader-compiler 0.3.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
makepaddev
Dependencies
makepad-live-compiler ^0.3.0
normal
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Ty
Methods
from_live_eval
from_live_node
is_matrix
is_scalar
is_vector
maybe_ty_lit
slots
to_ty_expr
Trait Implementations
Display
In makepad_shader_compiler::shader_ast
?
Type Definition
makepad_shader_compiler
::
shader_ast
::
Ty
source
·
[
−
]
pub type Ty =
ShaderTy
;
Implementations
source
impl
Ty
source
pub fn
maybe_ty_lit
(&self) ->
Option
<
TyLit
>
source
pub fn
is_scalar
(&self) ->
bool
source
pub fn
is_vector
(&self) ->
bool
source
pub fn
is_matrix
(&self) ->
bool
source
pub fn
slots
(&self) ->
usize
source
pub fn
to_ty_expr
(&self) ->
TyExpr
source
pub fn
from_live_eval
(live_eval:
LiveEval
) ->
Option
<Self>
source
pub fn
from_live_node
(
live_registry: &
LiveRegistry
,
index:
usize
,
nodes: &[
LiveNode
]
) ->
Result
<Self,
LiveError
>
Trait Implementations
source
impl
Display
for
Ty
source
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more