Class: Codify::Rust::Types::Val
- Inherits:
-
Struct
- Object
- Struct
- Codify::Rust::Types::Val
show all
- Includes:
- Codify::Rust::Type
- Defined in:
- lib/codify/rust/types.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
#defaultible?, #definition?, #each_subtype, #primitive?, #to_rust
Instance Attribute Details
#t ⇒ Object
Returns the value of attribute t
16
17
18
|
# File 'lib/codify/rust/types.rb', line 16
def t
@t
end
|
Class Method Details
.to_s ⇒ Object
19
|
# File 'lib/codify/rust/types.rb', line 19
def self.to_s() 'Codify::Rust::Types::Val' end
|
Instance Method Details
#inspect ⇒ Object
23
|
# File 'lib/codify/rust/types.rb', line 23
def inspect() t.to_s end
|
#to_s ⇒ Object
22
|
# File 'lib/codify/rust/types.rb', line 22
def to_s() t.to_s end
|
#types ⇒ Object
21
|
# File 'lib/codify/rust/types.rb', line 21
def types() [] end
|