Class: Codify::Rust::Types::Named
- Inherits:
-
Struct
- Object
- Struct
- Codify::Rust::Types::Named
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, #to_rust
Instance Attribute Details
#t ⇒ Object
Returns the value of attribute t
6
7
8
|
# File 'lib/codify/rust/types.rb', line 6
def t
@t
end
|
Class Method Details
.to_s ⇒ Object
9
|
# File 'lib/codify/rust/types.rb', line 9
def self.to_s() 'Codify::Rust::Types::Named' end
|
Instance Method Details
#primitive? ⇒ Boolean
11
|
# File 'lib/codify/rust/types.rb', line 11
def primitive?() false end
|
#to_s ⇒ Object
13
|
# File 'lib/codify/rust/types.rb', line 13
def to_s() t.to_s end
|
#types ⇒ Object
12
|
# File 'lib/codify/rust/types.rb', line 12
def types() [] end
|