Enum gdnative_core::export::hint::StringHint
source · pub enum StringHint {
Enum(EnumHint),
File(EnumHint),
GlobalFile(EnumHint),
Dir,
GlobalDir,
Multiline,
Placeholder {
placeholder: String,
},
}
Expand description
Possible hints for strings.
Variants§
Enum(EnumHint)
Hints that an integer, float or string property is an enumerated value to pick in a list.
File(EnumHint)
Hints that a string property is a path to a file.
GlobalFile(EnumHint)
Hints that a string property is an absolute path to a file outside the project folder.
Dir
Hints that a string property is a path to a directory.
GlobalDir
Hints that a string property is an absolute path to a directory outside the project folder.
Multiline
Hints that a string property is text with line breaks.
Placeholder
Hints that a string property should have a placeholder text visible on its input field, whenever the property is empty.
Implementations§
source§impl StringHint
impl StringHint
pub fn export_info(self) -> ExportInfo
Trait Implementations§
source§impl Clone for StringHint
impl Clone for StringHint
source§fn clone(&self) -> StringHint
fn clone(&self) -> StringHint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more